yjh0410 hai 1 ano
pai
achega
36f0d42ef9
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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()