yjh0410 1 년 전
부모
커밋
36f0d42ef9
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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()