Skip to content
New issue

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

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

Already on GitHub? # to your account

Restoring of OpenNMT checkpoints #27

Open
Surabhi-Kumari opened this issue Jul 14, 2020 · 0 comments
Open

Restoring of OpenNMT checkpoints #27

Surabhi-Kumari opened this issue Jul 14, 2020 · 0 comments

Comments

@Surabhi-Kumari
Copy link

Surabhi-Kumari commented Jul 14, 2020

Hi Fuli,
I have trained the NMT model using OpenNMT=1.15, now trying to restore checkpoints (trained using OpenNMT) in DualRL setting. But facing issue while restoring, Error: Key NMT0-1/NMT0-1/decoder/dense/bias not found in checkpoint
[[Node: NMT0-1/save/RestoreV2_2 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_NMT0-1/save/Const_0_0, NMT0-1/save/RestoreV2_2/tensor_names, NMT0-1/save/RestoreV2_2/shape_and_slices)]]
. Note I have change the parameters like #layers, emb_dim etc.
Will you suggest something, how to restore OpenNMT checkpoint during DualRL setting.

Thanks in advance.

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

No branches or pull requests

1 participant