DSB2017 icon indicating copy to clipboard operation
DSB2017 copied to clipboard

IOError: [Errno 104] Connection reset by peer

Open DaLei001 opened this issue 6 years ago • 0 comments

Run main.py for test, find the error as follows: Traceback (most recent call last): File "main.py", line 58, in test_detect(test_loader, nod_net, get_pbb, bbox_result_path,config1,n_gpu=config_submit['n_gpu']) File "/media/dai/Data/Data/WL/work/DSB2017-master/test_detect.py", line 24, in test_detect for i_name, (data, target, coord, nzhw) in enumerate(data_loader): File "/usr/local/lib/python2.7/dist-packages/torch/utils/data/dataloader.py", line 195, in next idx, batch = self.data_queue.get() File "/usr/lib/python2.7/multiprocessing/queues.py", line 378, in get return recv() File "/usr/local/lib/python2.7/dist-packages/torch/multiprocessing/queue.py", line 22, in recv return pickle.loads(buf) File "/usr/lib/python2.7/pickle.py", line 1388, in loads return Unpickler(file).load() File "/usr/lib/python2.7/pickle.py", line 864, in load dispatchkey File "/usr/lib/python2.7/pickle.py", line 1139, in load_reduce value = func(*args) File "/usr/local/lib/python2.7/dist-packages/torch/multiprocessing/reductions.py", line 68, in rebuild_storage_fd fd = multiprocessing.reduction.rebuild_handle(df) File "/usr/lib/python2.7/multiprocessing/reduction.py", line 155, in rebuild_handle conn = Client(address, authkey=current_process().authkey) File "/usr/lib/python2.7/multiprocessing/connection.py", line 175, in Client answer_challenge(c, authkey) File "/usr/lib/python2.7/multiprocessing/connection.py", line 432, in answer_challenge message = connection.recv_bytes(256) # reject large message IOError: [Errno 104] Connection reset by peer

How to solve it ?

DaLei001 avatar Sep 14 '18 14:09 DaLei001