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
storage resize_ function #26
Comments
Right now things are a bit broken on PyTorch 0.3. I'm working on a fix for it. |
In pytorch0.3, "with" can solve this problem.
|
Thanks @mingminzhen ! I'm going to push some 0.3 fixes soon, so I'll include that. |
This should be fixed with #28. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I try to use torch.storage in my network. I use Pytorch3.
The output is
The self.storage comes from
self.storage= torch.Storage(1024)
.It seems the resize_ function will change the gpu where the storage will be saved.
I wish the storage is saved in GPU 1 rather than 0.
How can i do that?
The text was updated successfully, but these errors were encountered: