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
Pytorch 1.6 supports stochastic weight averaging (SWA), which could improve model effectiveness. The Pytorch trainer should support a boolean swa config option that controls whether it is used.
As described in the docs, using SWA with batchnorm requires additional steps. Can we automatically detect whether a model contains any batchnorm layers and, if so, either raise an exception (easier) or perform the necessary additional steps?
The text was updated successfully, but these errors were encountered:
Pytorch 1.6 supports stochastic weight averaging (SWA), which could improve model effectiveness. The Pytorch trainer should support a boolean
swa
config option that controls whether it is used.As described in the docs, using SWA with batchnorm requires additional steps. Can we automatically detect whether a model contains any batchnorm layers and, if so, either raise an exception (easier) or perform the necessary additional steps?
The text was updated successfully, but these errors were encountered: