DualRL icon indicating copy to clipboard operation
DualRL copied to clipboard

Restoring of OpenNMT checkpoints

Open Surabhi-Kumari opened this issue 3 years ago • 0 comments

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.

Surabhi-Kumari avatar Jul 14 '20 11:07 Surabhi-Kumari