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
Thank you for sharing this source code.
I was trying to run the script "train_MAMS_sentiment.py" that the error "TypeError: forward() got an unexpected keyword argument 'lm_labels'" happened.
Is there any solution to solve this error?
Best regards.
The text was updated successfully, but these errors were encountered:
I solved it!
It has a really simple solution that you have to rename the lm_labels to labels in the kwargs of input variable in the seq2seq_model_M.py, function _get_inputs_dict and that's it.
similar to the issue priya-dwivedi/Deep-Learning#137
Hi,
Thank you for sharing this source code.
I was trying to run the script "train_MAMS_sentiment.py" that the error "
TypeError: forward() got an unexpected keyword argument 'lm_labels'
" happened.Is there any solution to solve this error?
Best regards.
The text was updated successfully, but these errors were encountered: