xv44586/ccf_2020_qa_match

环境问题

Opened this issue · 2 comments

uRENu commented
环境问题
uRENu commented

您好,我看到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 commented

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