Explorar o código

remove grad accumulate

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