Last active
December 7, 2017 15:06
-
-
Save jojonki/96cdc84884eebdb9a358b9cefcb30b33 to your computer and use it in GitHub Desktop.
Print training parameters in PyTorch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for name, param in model.named_parameters(): | |
| if param.requires_grad: | |
| print(name, param.data) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment