-
Notifications
You must be signed in to change notification settings - Fork 92
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
Make a proper test for trajectory replay tool #129
Comments
@StoneT2000 Agree! Also, is there a way to save successful trajectories produced during policy evaluation so they may be used for imitation learning? |
I recommend using the RecordEpisodeWrapper from the maniskill2 package which will automatically save trajectories you run through the env following the maniskill2 format |
mani_skill2/utils/wrappers/record.py |
@StoneT2000 Hi Stone! I tried this one, but it seems that the saved import h5py
f = h5py.File("path_to_trajectory_file/xxx.h5", "r") the corresponding error messages are:
A potential reason is that I keyboard interrupted the training (without rendering window) so evaluation environment's |
That is also possible, can you try closing it first before using it? |
Currently we just run the replay tool for coverage purposes. Should add tests to check the actual contents of the saved trajectories/videos.
The text was updated successfully, but these errors were encountered: