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

"Could not find a version that satisfies the requirement torch==0.2.0.post3" #26

Open
Bryncodeswithfriends opened this issue Nov 4, 2018 · 4 comments

Comments

@Bryncodeswithfriends
Copy link

Sorry if this is a dumb question, i'm new to this. While installing the requirements from the txt file, this shows up. How do I fix this?
this happens

@manoharvhr
Copy link

Modify the file to whichever PyTorch version you have (using nano or vim).

For example, I have v0.4.1:
torch==0.4.1

@waffletower
Copy link

waffletower commented May 20, 2019

I have had success setting torch==0.4.0.
I imagine > 0.4.x will require further changes as I receive warnings such as the following:

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

@manoharvhr
Copy link

I have executed this application using 0.4.1

@wsywsywsywsywsy979
Copy link

Hi, do you have the problem that "model. cuda()" is stuck? I can't solve this problem after searching for many solution and blog, I would appreciate it if you could answer this question ( :

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

4 participants