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

大佬您好,我在调用官方预训练模型,即代码为bert_model = load_trained_model_from_checkpoint(config_path, checkpoint_path, seq_len=None)这一语句时,出现了如下问题,可以请教一下为何吗,谢谢 #28

Open
2941894638 opened this issue Dec 8, 2020 · 1 comment

Comments

@2941894638
Copy link

Traceback (most recent call last):
File "E:\PYTHON36\lib\contextlib.py", line 99, in exit
self.gen.throw(type, value, traceback)
File "E:\PYTHON36\lib\site-packages\tensorflow\python\framework\ops.py", line 5652, in get_controller
yield g
File "E:\PYTHON36\lib\site-packages\keras\engine\base_layer.py", line 491, in call
arguments=user_kwargs)
File "E:\PYTHON36\lib\site-packages\keras\engine\base_layer.py", line 559, in _add_inbound_node
output_tensors[i]._keras_shape = output_shapes[i]
IndexError: list index out of range

@LiYing22
Copy link

请问解决了吗?我遇到了同样的问题。

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

2 participants