We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
我将论文复现的环境设置按照readme中设置了,但是,在load_bert_model时,出现了错误,请问,能否将具体的环境说明一下呢?
The text was updated successfully, but these errors were encountered:
@Hou-jing
看了下大佬CyberZHG写的keras-bert,原来大佬将以前引用的keras都改成tf.keras造成的,将相关的依赖库降级即可。下面是我的requirements.txt文件,可以跑通,仅供参考。
absl-py==1.0.0 astor==0.8.1 cached-property==1.5.2 colorama==0.4.4 gast==0.5.3 grpcio==1.44.0 h5py==3.6.0 importlib-metadata==4.11.3 Keras==2.2.4 Keras-Applications==1.0.8 keras-bert==0.80.0 keras-embed-sim==0.10.0 keras-layer-normalization==0.15.0 keras-multi-head==0.28.0 keras-pos-embd==0.12.0 keras-position-wise-feed-forward==0.7.0 Keras-Preprocessing==1.1.2 keras-self-attention==0.51.0 keras-transformer==0.33.0 Markdown==3.3.6 mock==4.0.3 numpy==1.21.5 protobuf==3.19.4 PyYAML==6.0 scipy==1.7.3 six==1.16.0 tensorboard==1.13.1 tensorflow==1.13.1 tensorflow-estimator==1.13.0 tensorflow-gpu==1.13.1 termcolor==1.1.0 tqdm==4.63.0 typing-extensions==4.1.1 Werkzeug==2.0.3 zipp==3.7.0
Sorry, something went wrong.
No branches or pull requests
我将论文复现的环境设置按照readme中设置了,但是,在load_bert_model时,出现了错误,请问,能否将具体的环境说明一下呢?
The text was updated successfully, but these errors were encountered: