Open mshmoon opened 6 years ago
Every time I run this code some steps,my computer will crash. My computer have 8g memory ,gtx1060 NVIDIA. I set batch_size=1 I use 'top' command to monitor the usage of memory ,the memory and nvidia memory continuously reduce.
This may caused by multiprocessing.Pool.imap. You can use the dataloader from https://github.com/longcw/yolo2-pytorch/issues/71
multiprocessing.Pool.imap
Every time I run this code some steps,my computer will crash. My computer have 8g memory ,gtx1060 NVIDIA. I set batch_size=1 I use 'top' command to monitor the usage of memory ,the memory and nvidia memory continuously reduce.