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
File "d:\ner2\model\LSTM_CRF.py", line 42, in forward
outputs, hidden = self.lstm(embedding)
File "D:\conda\lib\site-packages\torch\nn\modules\module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "D:\conda\lib\site-packages\torch\nn\modules\rnn.py", line 569, in forward
result = _VF.lstm(input, hx, self._flat_weights, self.bias, self.num_layers,
File "D:\conda\lib\site-packages\torch\nn\modules\module.py", line 593, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'LSTM' object has no attribute '_flat_weights'
The text was updated successfully, but these errors were encountered:
File "d:\ner2\model\LSTM_CRF.py", line 42, in forward
outputs, hidden = self.lstm(embedding)
File "D:\conda\lib\site-packages\torch\nn\modules\module.py", line 550, in call
result = self.forward(*input, **kwargs)
File "D:\conda\lib\site-packages\torch\nn\modules\rnn.py", line 569, in forward
result = _VF.lstm(input, hx, self._flat_weights, self.bias, self.num_layers,
File "D:\conda\lib\site-packages\torch\nn\modules\module.py", line 593, in getattr
raise AttributeError("'{}' object has no attribute '{}'".format(
AttributeError: 'LSTM' object has no attribute '_flat_weights'
The text was updated successfully, but these errors were encountered: