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
Hi, I've transferred your code to my own codebase, since your modification of the original mmdetection lies in 3 files (please correct me if I'm wrong):
CBNetV2/mmdet/models/backbones/cbnet.py
CBNetV2/mmdet/models/necks/cbnet_fpn.py
CBNetV2/mmdet/models/detectors/two_stage.py
I directly do a copy-paste to transfer your code my own version of mmdetection, however, loss goes to nan since epoch 17, the reason is that gradient is overflowing, amp loss scaler has to shrink to a small number, until divided by zero, thus it goes to nan.
I use default setting of AMP as yours, I can't figure out what's wrong, could you help me?
The text was updated successfully, but these errors were encountered:
Hi, I've transferred your code to my own codebase, since your modification of the original mmdetection lies in 3 files (please correct me if I'm wrong):
I directly do a copy-paste to transfer your code my own version of mmdetection, however, loss goes to nan since epoch 17, the reason is that gradient is overflowing, amp loss scaler has to shrink to a small number, until divided by zero, thus it goes to nan.
I use default setting of AMP as yours, I can't figure out what's wrong, could you help me?
The text was updated successfully, but these errors were encountered: