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

Dependency configuration and RuntimeError #13

Open
jpgard opened this issue May 19, 2020 · 3 comments
Open

Dependency configuration and RuntimeError #13

jpgard opened this issue May 19, 2020 · 3 comments

Comments

@jpgard
Copy link

jpgard commented May 19, 2020

I don't think the README lists all of the required dependencies; in particular, torchvision seems to be a required import to run the training scripts. However, torchvision is only compatible with torch 1.5 or higher, but the README lists torch 0.4 as the required version, so I doubt these are compatible.

Can you provide some more information on the exact dependency configuration required to run the scripts, perhaps in the form of a requirements.txt?

Perhaps related to this, when I attempt to reproduce the celeba results, I get the following error:

sh scripts/run_celeba.sh $RUN_NAME
...
RuntimeError: one of the variables needed for gradient computation has been modified by an inplace operation: [torch.FloatTensor [20, 256, 1, 1]] is at version 3; expected version 2 instead. Hint: enable anomaly detection to find the operation that failed to compute its gradient, with torch.autograd.set_detect_anomaly(True).

Is anyone else experiencing this issue?

@AReinke
Copy link

AReinke commented Aug 17, 2020

I receive the same runtime error.

@noahcao
Copy link

noahcao commented Jun 20, 2021

I'm still receiving this error. Hope someone could help to fix it.

@swainsubrat
Copy link

Me too!!!

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