Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Models not saved when using jaco domain #18

Open
axnedergaard opened this issue Apr 13, 2022 · 1 comment
Open

Models not saved when using jaco domain #18

axnedergaard opened this issue Apr 13, 2022 · 1 comment

Comments

@axnedergaard
Copy link

axnedergaard commented Apr 13, 2022

I ran pretrain.py for various agents (rnd, icm, proto, icm_apt) and domains (walker, quadruped, jaco).

After the code ran, the directory models/states only contains the subdirectories walker and quadruped.

To reproduce:

python pretrain.py agent=rnd domain=jaco
or
python pretrain.py agent=icm domain=jaco
or
python pretrain.py agent=proto domain=jaco
or
python pretrain.py agent=icm_apt domain=jaco

@frederikschubert
Copy link

This is due to the checkpoints being stored at the end of an episode and the episode in jaco is (sometimes?) only limited to 249. This is even though the time limit is 10s and the time per step is 0.04s which should result in 250 steps, but I guess the limit is only sometimes included. So the solution for this would be either to store the checkpoint at each step at the specified time steps or to increase the time limit to 10.04s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants