You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, thank you for sharing your great work :)
I am struggling to debug the code since your code uses multi-processing in dataloader.
When I use debug mode in pycharm, the error occurs at the dataloader (it's okay with the simple run in pycharm).
I attached the error log below.
Thank you!
for sample in iter(dataloader):
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 571, in next
self._shutdown_workers()
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 659, in _shutdown_workers
w.join()
File "/usr/lib/python3.7/multiprocessing/process.py", line 140, in join
res = self._popen.wait(timeout)
File "/usr/lib/python3.7/multiprocessing/popen_fork.py", line 48, in wait
return self.poll(os.WNOHANG if timeout == 0.0 else 0)
File "/usr/lib/python3.7/multiprocessing/popen_fork.py", line 28, in poll
pid, sts = os.waitpid(self.pid, flag)
KeyboardInterrupt
The text was updated successfully, but these errors were encountered:
Hi, thank you for sharing your great work :)
I am struggling to debug the code since your code uses multi-processing in dataloader.
When I use debug mode in pycharm, the error occurs at the dataloader (it's okay with the simple run in pycharm).
I attached the error log below.
Thank you!
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 571, in next
self._shutdown_workers()
File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py", line 659, in _shutdown_workers
w.join()
File "/usr/lib/python3.7/multiprocessing/process.py", line 140, in join
res = self._popen.wait(timeout)
File "/usr/lib/python3.7/multiprocessing/popen_fork.py", line 48, in wait
return self.poll(os.WNOHANG if timeout == 0.0 else 0)
File "/usr/lib/python3.7/multiprocessing/popen_fork.py", line 28, in poll
pid, sts = os.waitpid(self.pid, flag)
KeyboardInterrupt
The text was updated successfully, but these errors were encountered: