dice_rl
dice_rl copied to clipboard
No checkpoint specified
When I run the command (to create dataset)
for alpha in {0.0,1.0}; do python3 scripts/create_dataset.py --save_dir=$HOME/tmp/ --load_dir=$HOME/tmp/CartPole-v0 --env_name=cartpole--num_trajectory=400 --max_trajectory_length=250 --alpha=$alpha --tabular_obs=0; done
It runs into error with the following information:
AssertionError: No checkpoint specified (save_path=None); nothing is being restored.
Any idea?
I think if you remove the environment name from load_dir, it should work. --load_dir=$HOME/tmp/.
this should work @gd-zhang
for alpha in {0.0,1.0}; do python3 scripts/create_dataset.py --save_dir=./tests/testdata --load_dir=./tests/testdata/ --env_name=cartpole --num_trajectory=400 --max_trajectory_length=250 --alpha=$alpha --tabular_obs=0; done