ソースを参照

remove grad accumulate

yjh0410 1 年間 前
コミット
e3f68f196d
1 ファイル変更1 行追加1 行削除
  1. 1 1
      yolo/engine.py

+ 1 - 1
yolo/engine.py

@@ -6,7 +6,7 @@ import random
 
 # ----------------- Extra Components -----------------
 from utils import distributed_utils
-from utils.misc import MetricLogger, SmoothedValue, get_total_grad_norm
+from utils.misc import MetricLogger, SmoothedValue
 from utils.vis_tools import vis_data
 
 # ----------------- Optimizer & LrScheduler Components -----------------