训练了一段时间出现了Exception ignored in: <bound method _DataLoaderIter.__del__ of <torch.utils.data.dataloader._DataLoaderIter object at 0x7f3e6f2f14e0>>问题,请问如何解决?

错误内容:
Exception ignored in: >
Traceback (most recent call last):
File "/home/omnisky/.local/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 399, in del
File "/home/omnisky/.local/lib/python3.5/site-packages/torch/utils/data/dataloader.py", line 378, in _shutdown_workers
File "/usr/lib/python3.5/multiprocessing/queues.py", line 345, in get
File "", line 969, in _find_and_load
File "", line 954, in _find_and_load_unlocked
File "", line 887, in _find_spec
TypeError: 'NoneType' object is not iterable

(https://img-ask.csdn.net/upload/201910/08/1570495131_689106.png)

1个回答

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问