Skip to content

multiprocessing error #66

@Rain-0908

Description

@Rain-0908

When I train my own dataset,I met a question as following:
Epoch: [4 / 100] iter: 1897 loss: 0.4995: 100%|██████████████████████████████████████████▊| 473/475 [03:34<00:00, 2.23it/s]Traceback (most recent call last):
File "/home/data4/rain1015/anaconda3/envs/BBDM/lib/python3.9/multiprocessing/resource_sharer.py", line 145, in _serve
send(conn, destination_pid)
File "/home/data4/rain1015/anaconda3/envs/BBDM/lib/python3.9/multiprocessing/resource_sharer.py", line 50, in send
reduction.send_handle(conn, new_fd, pid)
File "/home/data4/rain1015/anaconda3/envs/BBDM/lib/python3.9/multiprocessing/reduction.py", line 184, in send_handle
sendfds(s, [handle])
File "/home/data4/rain1015/anaconda3/envs/BBDM/lib/python3.9/multiprocessing/reduction.py", line 149, in sendfds
sock.sendmsg([msg], [(socket.SOL_SOCKET, socket.SCM_RIGHTS, fds)])
OSError: [Errno 9] Bad file descriptor

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/home/data4/rain1015/anaconda3/envs/BBDM/lib/python3.9/multiprocessing/resource_sharer.py", line 147, in _serve
Epoch: [4 / 100] iter: 1897 loss: 0.4995: 100%|██████████████████████████████████████████▊| 473/475 [03:34<00:00, 2.21it/s]
str(Exception): <class 'Exception'>
str(e):
repr(e): EOFError()
traceback.print_exc():
close()
Could you please give some tips on it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions