Ver Fonte

remove grad accumulate

yjh0410 há 1 ano atrás
pai
commit
e3f68f196d
1 ficheiros alterados com 1 adições e 1 exclusões
  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 -----------------