You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
then..I encountered the TypeError as below. Do you know any solutions?
Traceback (most recent call last):
File "run_snli.py", line 103, in
exec(open("train.py").read())
File "", line 434, in
File "", line 389, in train
File "", line 247, in train_ae
File "C:\Users\hsko0\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "D:\Generation\ARAE\lang\models.py", line 174, in forward
hidden = self.encode(indices, lengths, noise)
File "D:\Generation\ARAE\lang\models.py", line 199, in encode
std=self.noise_r)
TypeError: normal() received an invalid combination of arguments - got (means=Tensor, std=float, ), but expected one of:
Hi, when I run run_snli.py, it does not work. :'(
then..I encountered the TypeError as below. Do you know any solutions?
Traceback (most recent call last):
File "run_snli.py", line 103, in
exec(open("train.py").read())
File "", line 434, in
File "", line 389, in train
File "", line 247, in train_ae
File "C:\Users\hsko0\Anaconda3\lib\site-packages\torch\nn\modules\module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "D:\Generation\ARAE\lang\models.py", line 174, in forward
hidden = self.encode(indices, lengths, noise)
File "D:\Generation\ARAE\lang\models.py", line 199, in encode
std=self.noise_r)
TypeError: normal() received an invalid combination of arguments - got (means=Tensor, std=float, ), but expected one of:
The text was updated successfully, but these errors were encountered: