Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeError: received 0 items of ancdata #2

Open
ShougangShen opened this issue Apr 8, 2021 · 0 comments
Open

RuntimeError: received 0 items of ancdata #2

ShougangShen opened this issue Apr 8, 2021 · 0 comments

Comments

@ShougangShen
Copy link

ShougangShen commented Apr 8, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant