You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Added after model and optimizer construction
model, optimizer = amp.initialize(model, optimizer, flags...)
...
# loss.backward() changed to:
with amp.scale_loss(loss, optimizer) as scaled_loss:
scaled_loss.backward()
The text was updated successfully, but these errors were encountered:
I was looking at the training script of YOLOv3 from Ultralytics repo and they use mixed-precision training using https://github.com/NVIDIA/apex.
Has anyone tried implementing in the training scripts?
Quoting the example from Nvidia:
The text was updated successfully, but these errors were encountered: