Closed VladimirFokow closed 1 month ago
What should the logic be:
the code attempts to do both 😑 and achieves none.
./orbit.sh -p source/standalone/workflows/rsl_rl/play.py --task Isaac-Rough-Anymal-C-Play-v0 --load_run 2024-03-11_16-11-38 --checkpoint model_300.pt
I agree. This is not very intuitive. Feel free to send an MR with the required clarifications :)
Describe the bug
Here: https://isaac-orbit.github.io/orbit/source/setup/sample.html#reinforcement-learning
In this example:
we are supposed to provide
/PATH/TO/model.pth
First of all, in my logs, the models with
.pt
extension are saved, not.pth
Secondly, it would be nice to write in the docs how to find this path, so that there's no need for the user to go looking for the logic into the code. (is the path to model the same as path to logs, described on that page?)
Thirdly, most importantly, it's completely broken even if you provide the path:
In this line the
checkpoint
is the full path of the checkpoint that was provided, that's why no matches are found.System Info
Checklist
Related issue was discussed here, where they said:
Acceptance Criteria
This task is considered done if:
get_checkpoint_path
works--checkpoint
flag)