Closed RylanSchaeffer closed 3 years ago
Ok I figured out what the issue is. For anyone else, suppose your checkpoint files are
<some dir>/checkpoints/tf_ckpt-199.data-00000-of-00001 /tmp
<some dir>/checkpoints/tf_ckpt-199.index /tmp
<some dir>/checkpoints/tf_ckpt-199.meta /tmp
Then the restore_ckpt
argument should be <some dir>/checkpoints/tf_ckpt-199
. Yes, replace the .
with a -
and ignore the ckpt.199
file.
I'm trying to visualize a Dopamine C51 TF agent I trained. Following the tutorial, I'm trying:
I pass
restore_ckpt=/home/rylan/Documents/PehlevanLab-Dopamine/tmp/dopamine_run/c51/Pong/1/checkpoints/ckpt.199
and I get the following error:@psc-g do you know what causes this error? I've tried both
use_legacy_checkpoint=True
anduse_legacy_checkpoint=False
and both had this error.