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

how to create fixed initalization file? #34

Open
WeisonWEileen opened this issue Sep 10, 2024 · 2 comments
Open

how to create fixed initalization file? #34

WeisonWEileen opened this issue Sep 10, 2024 · 2 comments

Comments

@WeisonWEileen
Copy link

Thanks for your great job. I have a question that I want to generate new fix init file for new brenchmark generatiztion. Are there any API for me to make this append?

@Cranial-XIX
Copy link
Collaborator

Hi, the fix init states are collected by initializing the customized environments multiple times and taking the initial state from different random seeds. You can record a set of those initial states to reproduce your experiment results. We collected 50, and use 20 out of 50 as the pruned init states to speed up the evaluation.

@WeisonWEileen
Copy link
Author

WeisonWEileen commented Sep 11, 2024

Thanks for your applied. Since I am newed to your repo, I actually want to figure out how can I save new fixed init states? I want some new fix init states collected by myself. I noticed that there is a API set_init_state that we can reset environment. However,I cannot find the API for saving. Should I use the mujoco save(https://openai.github.io/mujoco-py/build/html/reference.html)? I noticed that the dimension of data in the init state files are [5,92].

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