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 the script to work with pytorch v0.4 #9

Closed
dansuh17 opened this issue Jun 25, 2018 · 1 comment
Closed

Update the script to work with pytorch v0.4 #9

dansuh17 opened this issue Jun 25, 2018 · 1 comment
Assignees

Comments

@dansuh17
Copy link
Owner

dansuh17 commented Jun 25, 2018

apply possible API changes

 model.py:254: UserWarning: nn.init.xavier_normal is now deprecated in favor of nn.init.xavier_normal_.
model.py:389: UserWarning: nn.init.normal is now deprecated in favor of nn.init.normal_
2018-06-26 13:56:18,462 STDOUT model.py:430: UserWarning: invalid index of a 0-dim tensor. This will be an error in PyTorch 0.5. Use tensor.item() to convert a 0-dim tensor to a Python number                                             
2018-06-26 13:56:18,463 STDOUT   epoch + 1, i + 1, clean_loss.data[0],                                                
2018-06-26 13:56:18,463 STDOUT model.py:431: UserWarning: invalid index of a 0-dim tensor. This will be an error in PyTorch 0.5. Use tensor.item() to convert a 0-dim tensor to a Python number
@dansuh17 dansuh17 self-assigned this Jun 25, 2018
dansuh17 added a commit that referenced this issue Jun 26, 2018
dansuh17 added a commit that referenced this issue Jun 28, 2018
dansuh17 added a commit that referenced this issue Jun 28, 2018
dansuh17 added a commit that referenced this issue Jun 28, 2018
dansuh17 added a commit that referenced this issue Jun 28, 2018
[#9] Reflect changes of pytorch v0.4
@dansuh17
Copy link
Owner Author

done.

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

No branches or pull requests

1 participant