DCPDN icon indicating copy to clipboard operation
DCPDN copied to clipboard

RuntimeError: DataLoader worker (pid 19597) is killed by signal: Killed

Open slc688888 opened this issue 7 years ago • 2 comments

when I run train.py , I got en error. Is my memory too little?My memory is 16G and Gpu memory is 8G Details: Traceback (most recent call last): File "train.py", line 210, in val_target_cpu, val_input_cpu = val_target_cpu.float().cuda(), val_input_cpu.float().cuda() File "/home/littlemonster/anaconda3/envs/pic/lib/python2.7/site-packages/torch/_utils.py", line 69, in cuda return new_type(self.size()).copy(self, async) File "/home/littlemonster/anaconda3/envs/pic/lib/python2.7/site-packages/torch/utils/data/dataloader.py", line 175, in handler _error_if_any_worker_fails() RuntimeError: DataLoader worker (pid 19597) is killed by signal: Killed.

Look forward to your rely!

slc688888 avatar Jul 27 '18 04:07 slc688888

set workers 0

zhaoxin111 avatar Sep 25 '18 10:09 zhaoxin111

It worked thanks!!

Devin97 avatar Sep 25 '18 13:09 Devin97