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
it had RuntimeError when using tie_weights=True. The error was "he expanded size of the tensor (32) must match the existing size (2) at non-singleton dimension 1. Target sizes: [64, 32]. Tensor sizes: [2]".
After checking the code again, i found there was code "self.decoder.weight = self.encoder.weight" in class RNNPredictor() init. decoder.weight was assigned encoder.weight's size. it caused error when using decoder function
The text was updated successfully, but these errors were encountered:
it had RuntimeError when using tie_weights=True. The error was "he expanded size of the tensor (32) must match the existing size (2) at non-singleton dimension 1. Target sizes: [64, 32]. Tensor sizes: [2]".
After checking the code again, i found there was code "self.decoder.weight = self.encoder.weight" in class RNNPredictor() init. decoder.weight was assigned encoder.weight's size. it caused error when using decoder function
The text was updated successfully, but these errors were encountered: