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

环境问题 #14

Open
uRENu opened this issue Mar 31, 2021 · 2 comments
Open

环境问题 #14

uRENu opened this issue Mar 31, 2021 · 2 comments

Comments

@uRENu
Copy link

uRENu commented Mar 31, 2021

No description provided.

@uRENu
Copy link
Author

uRENu commented Mar 31, 2021

您好,我看到requirements-post-training.txt中环境要求Keras==2.3.0、tensorflow-gpu==1.14.0,但是这两个版本不兼容。因此我用了Keras==2.3.1、tensorflow-gpu==1.15.0,但是运行预训练总是会出现如下问题:
InvalidArgumentError: 2 root error(s) found.
(0) Invalid argument: You must feed a value for placeholder tensor 'mlm_loss_sample_weights' with dtype float and shape [?]
[[{{node mlm_loss_sample_weights}}]]
[[loss/Identity/_2901]]
(1) Invalid argument: You must feed a value for placeholder tensor 'mlm_loss_sample_weights' with dtype float and shape [?]
[[{{node mlm_loss_sample_weights}}]]

请问这是什么问题呢

@uRENu
Copy link
Author

uRENu commented Apr 1, 2021

补充一下,上述问题出现在运行pair-post-training-wwm-sop.py时

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

1 participant