Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update torch api #12

Open
arokem opened this issue Nov 12, 2021 · 0 comments
Open

Update torch api #12

arokem opened this issue Nov 12, 2021 · 0 comments

Comments

@arokem
Copy link
Contributor

arokem commented Nov 12, 2021

Currently getting some deprecation warnings:

/Users/arokem/source/mri2mri/mri2mri/networks.py:23: UserWarning: nn.init.normal is now deprecated in favor of nn.init.normal_.
  init.normal(m.weight.data, 0.0, 0.02)
/Users/arokem/source/mri2mri/mri2mri/networks.py:27: UserWarning: nn.init.normal is now deprecated in favor of nn.init.normal_.
  init.normal(m.weight.data, 1.0, 0.02)
/Users/arokem/source/mri2mri/mri2mri/networks.py:28: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant_.
  init.constant(m.bias.data, 0.0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant