CDPN_ICCV2019_ZhigangLi icon indicating copy to clipboard operation
CDPN_ICCV2019_ZhigangLi copied to clipboard

RuntimeError: received 0 items of ancdata

Open ShougangShen opened this issue 3 years ago • 0 comments

Hello, I run test using config_rot.yaml. I change the 'tes' from 'False' to 'True'; 'classes' from 'all' to ['cat']; 'img_type from 'real_imgn' to ''; 'test_mode' from 'all_fast' to 'all'. I run python main.py --cfg=exps_cfg/config_rot.yaml. It can run for a while then I got the run error like this: Traceback (most recent call last): File "main.py", line 106, in <module> main() File "main.py", line 75, in main _, preds = test(0, cfg, test_loader, network, obj_vtx, obj_info, criterions) File "/home/xxx/CDPN_ICCV2019_ZhigangLi/tools/../lib/test.py", line 72, in test for i, (obj, obj_id, inp, pose, c_box, s_box, box, trans_local) in enumerate(data_loader): File "/home/xxx/CDPN_ICCV2019_ZhigangLi/venv/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 345, in __next__ data = self._next_data() File "/home/xxx/CDPN_ICCV2019_ZhigangLi/venv/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 841, in _next_data idx, data = self._get_data() File "/home/xxx/CDPN_ICCV2019_ZhigangLi/venv/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 808, in _get_data success, data = self._try_get_data() File "/home/xxx/CDPN_ICCV2019_ZhigangLi/venv/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 761, in _try_get_data data = self._data_queue.get(timeout=timeout) File "/usr/lib/python3.8/multiprocessing/queues.py", line 116, in get return _ForkingPickler.loads(res) File "/home/xxx/CDPN_ICCV2019_ZhigangLi/venv/lib/python3.8/site-packages/torch/multiprocessing/reductions.py", line 294, in rebuild_storage_fd fd = df.detach() File "/usr/lib/python3.8/multiprocessing/resource_sharer.py", line 58, in detach return reduction.recv_handle(conn) File "/usr/lib/python3.8/multiprocessing/reduction.py", line 189, in recv_handle return recvfds(s, 1)[0] File "/usr/lib/python3.8/multiprocessing/reduction.py", line 164, in recvfds raise RuntimeError('received %d items of ancdata' % RuntimeError: received 0 items of ancdata

Thanks your reply!

ShougangShen avatar Apr 08 '21 08:04 ShougangShen