1Konny/FactorVAE

Dependency configuration and RuntimeError

jpgard opened this issue · 3 comments

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?

I receive the same runtime error.

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

Me too!!!