yjh0410 1 ano atrás
pai
commit
36f0d42ef9
1 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      yolo/train.py

+ 1 - 0
yolo/train.py

@@ -203,6 +203,7 @@ def train():
 
     # Empty cache after train loop
     del trainer
+    del garbage
     if args.cuda:
         torch.cuda.empty_cache()