You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I changed the attention.py # out,state = tflib.ops.FreeRunIm2LatexAttention('AttLSTM', ctx, emb_seqs, EMB_DIM, ENC_DIM, DEC_DIM, D, H, W) to out, state = tflib.ops.im2latexAttention('AttLSTM', emb_seqs, ctx, EMB_DIM, ENC_DIM, DEC_DIM, D, H, W) ,the net runs correctly but the weight files has an error NotFoundError (see above for traceback): Key rnn/while/AttLSTM.AttentionCell.Gates/AttLSTM.AttentionCell.Gates.W not found in checkpoint [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
The text was updated successfully, but these errors were encountered:
I changed the attention.py
# out,state = tflib.ops.FreeRunIm2LatexAttention('AttLSTM', ctx, emb_seqs, EMB_DIM, ENC_DIM, DEC_DIM, D, H, W)
toout, state = tflib.ops.im2latexAttention('AttLSTM', emb_seqs, ctx, EMB_DIM, ENC_DIM, DEC_DIM, D, H, W)
,the net runs correctly but the weight files has an errorNotFoundError (see above for traceback): Key rnn/while/AttLSTM.AttentionCell.Gates/AttLSTM.AttentionCell.Gates.W not found in checkpoint [[Node: save/RestoreV2 = RestoreV2[dtypes=[DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, ..., DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT, DT_FLOAT], _device="/job:localhost/replica:0/task:0/device:CPU:0"](_arg_save/Const_0_0, save/RestoreV2/tensor_names, save/RestoreV2/shape_and_slices)]]
The text was updated successfully, but these errors were encountered: