Error
I'm getting this error on the hotel dataset when reproducing your code
Traceback (most recent call last):
File "train.py", line 201, in
Hi @Jasmine302, Your error seems to be the same as the one I noticed when I recently reran the source code. As mentioned in issue#1, it might help to use PyTorch version 11.1 or below, or to try another seed.
The method of the torch.distributions.log_prob() operation for probability distribution in the latest version of PyTorch has changed, which seems to cause problems with loss backpropagation. If any other issues arise, let me know!
Hi @Jasmine302, Your error seems to be the same as the one I noticed when I recently reran the source code. As mentioned in issue#1, it might help to use PyTorch version 11.1 or below, or to try another seed.
The method of the
torch.distributions.log_prob()operation for probability distribution in the latest version of PyTorch has changed, which seems to cause problems with loss backpropagation. If any other issues arise, let me know!
I changed the pytorch version and commented out the seeds as you did, and it's fixed, thanks a lot!
Hi @Jasmine302, Your error seems to be the same as the one I noticed when I recently reran the source code. As mentioned in issue#1, it might help to use PyTorch version 11.1 or below, or to try another seed. The method of the
torch.distributions.log_prob()operation for probability distribution in the latest version of PyTorch has changed, which seems to cause problems with loss backpropagation. If any other issues arise, let me know!I changed the pytorch version and commented out the seeds as you did, and it's fixed, thanks a lot!
hello,what's your torch and python vision
Hi @Jasmine302, Your error seems to be the same as the one I noticed when I recently reran the source code. As mentioned in issue#1, it might help to use PyTorch version 11.1 or below, or to try another seed. The method of the operation for probability distribution in the latest version of PyTorch has changed, which seems to cause problems with loss backpropagation. If any other issues arise, let me know!
torch.distributions.log_prob()I changed the pytorch version and commented out the seeds as you did, and it's fixed, thanks a lot!
hello,what's your torch and python vision
pytorch 1.10.1 ;python 3.7.0
Hi @Jasmine302, Your error seems to be the same as the one I noticed when I recently reran the source code. As mentioned in issue#1, it might help to use PyTorch version 11.1 or below, or to try another seed. The method of the operation for probability distribution in the latest version of PyTorch has changed, which seems to cause problems with loss backpropagation. If any other issues arise, let me know!
torch.distributions.log_prob()I changed the pytorch version and commented out the seeds as you did, and it's fixed, thanks a lot!
hello,what's your torch and python vision
pytorch 1.10.1 ;python 3.7.0
thank you! AND what your seed?i change many torch vesion on my dataset(sdd),it always generates error,