pytorch_RVAE
pytorch_RVAE copied to clipboard
Got a RuntimeError when running train.py
Hi, I am very interested in the codes. But when I run train.py, I got a runtime error, which is listed below:
preprocessed data was found and loaded
Traceback (most recent call last):
File "train.py", line 59, in
Could you help fix the problem? Thank you so much!
https://github.com/kefirski/pytorch_RVAE/blob/master/model/rvae.py#L78 remove the .squeeze()
(This sounds like a bug of pytorch, but I actually can't reproduce it in simple snippets.)