Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

报错AttributeError: 'DocumentRNNEmbeddings' object has no attribute '_load_state_dict_post_hooks' #4

Open
pli29-ctrip opened this issue Jul 26, 2022 · 5 comments

Comments

@pli29-ctrip
Copy link

按照文档要求,初始化时报错
AttributeError: 'DocumentRNNEmbeddings' object has no attribute '_load_state_dict_post_hooks'
python3.7版本

@vlad43210
Copy link

Hi, I am having this issue as well! Python 3.7 here too.

@tetapunto
Copy link

I have fixed this by:

  • using python 3.7
  • using pythorch 1.4.0 (conda install pytorch==1.4.0 torchvision==0.5.0 -c pytorch)
  • using flair 0.6

@vitali87
Copy link

Getting the same error!

@fischja
Copy link

fischja commented Feb 17, 2023

Same issue here - any solution @Kyubyong ?

@harningle
Copy link

I followed #5 (comment) and successfully solved the dependency issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants