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
In this If branch, if we have detection result so poor that no GT is assgined to any rois, it will return a empty result with proper shapes.
However, if we trigger this branch and return without passing through the Unet, pytorch will find parameters of Unet unused and raises error, which may happen in a few iterations after training starts.
Adding find_unused_parameters=True in the config file would solve this preblem. However this may be brutal and cost more time for pytorch will check all parameters each iteration. Even if find_unused_parameters can be turned off after some training, like 1 epoch.
Another solution is to set Unet not requiring grad when going in this branch and vice versa. Unfortunately I failed trying setting it.
The text was updated successfully, but these errors were encountered:
td3d/mmdet3d/models/decode_heads/td3d_instance_head.py
Lines 210 to 223 in 33d8073
In this If branch, if we have detection result so poor that no GT is assgined to any rois, it will return a empty result with proper shapes.
However, if we trigger this branch and return without passing through the Unet, pytorch will find parameters of Unet unused and raises error, which may happen in a few iterations after training starts.
Adding find_unused_parameters=True in the config file would solve this preblem. However this may be brutal and cost more time for pytorch will check all parameters each iteration. Even if find_unused_parameters can be turned off after some training, like 1 epoch.
Another solution is to set Unet not requiring grad when going in this branch and vice versa. Unfortunately I failed trying setting it.
The text was updated successfully, but these errors were encountered: