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
I ran into some issues with mmdetection when this wasn't being set, but of course that could be mitigated by changing how/when model.eval() is called. Still, I think setting the module_output.training flag is correct.
Thoughts?
The text was updated successfully, but these errors were encountered:
@collinmccarthy yup, never noticed that change was made on pytorch side but timm should be updated too. Though wouldn't make a difference in use with the train script due to where .train() / .eval() are called, could impact some uses.
Maybe "bug" is too harsh, but should we be setting
module_output.training = module.training
in convert_sync_batchnorm()?This is what torch.nn.SyncBatchNorm does now too, so personally I think we should.
I ran into some issues with
mmdetection
when this wasn't being set, but of course that could be mitigated by changing how/whenmodel.eval()
is called. Still, I think setting themodule_output.training
flag is correct.Thoughts?
The text was updated successfully, but these errors were encountered: