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
When all weights are frozen, no gradients are produced during the model evaluation and the loss has no mechanism for doing backprop.
To Reproduce
A clear set of commands and resources needed to reproduce the issue:
Run any training config with weights_frozen: true set for all pieces of the chain
Possible solution (optional)
Obviously we can remove freeze_weights from our config, but it would be ideal for SPINE to check that at least some weights are being trained during a training script, so as not to produce the error above (which may be difficult to parse).
The text was updated successfully, but these errors were encountered:
When all weights are frozen, no gradients are produced during the model evaluation and the loss has no mechanism for doing backprop.
To Reproduce
A clear set of commands and resources needed to reproduce the issue:
Run any training config with weights_frozen: true set for all pieces of the chain
Expected behavior
An error such as the following will appear:
Code base
Provide the following:
Possible solution (optional)
Obviously we can remove freeze_weights from our config, but it would be ideal for SPINE to check that at least some weights are being trained during a training script, so as not to produce the error above (which may be difficult to parse).
The text was updated successfully, but these errors were encountered: