-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Hi,
In train_qgen_reinforce.py code, when I try to restore qgen in line 163 I am given the following error:
NotFoundError (see above for traceback): Key qgen/rl_baseline/baseline_hidden/W not found in checkpoint
[[Node: save/RestoreV2_4 = RestoreV2[dtypes=[DT_FLOAT], _device="/job:localhost/replica:0/task:0/cpu:0"](_arg_save/Const_0_0, save/RestoreV2_4/tensor_names, save/RestoreV2_4/shape_and_slices)]]
The reason is that qgen_saver which is defined in line 100 expects to restore the variables of QGenNetworkLSTM with policy_gradient=True while the model I want to restore is trained without policy_gradient so it does not have rl_baseline variables.
Could you please help me how to resolve this bug?
Thanks,
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels