google-research / google-research/dice_rl

No checkpoint specified

Open
#12 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
112
Forks
16
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Research direction

Start with scripts/create_dataset.py and reproduce the command shown for CartPole-v0. Trace where the missing save_path assertion is reached and check how the command-line options are used. Done means the dataset command either runs with the documented inputs or clearly reports the required checkpoint configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.