-
Notifications
You must be signed in to change notification settings - Fork 644
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
New domain and task #53
Comments
You would need to create a For example: from dm_control.utils import containers
SUITE = containers.TaggedTasks()
@SUITE.add('some_tag', 'some_other_tag')
def my_new_task(time_limit=_DEFAULT_TIME_LIMIT, random=None, environment_kwargs=None):
...
return control.Environment(...) Then in |
(For future readers): also see some of the comments on #46. |
How to specific xml file of my model here? @alimuldal I don't want change dm_contrl source code, is there a way to call it inside my own script? (the env I created.) |
Suppose I would like to write my own domain and task.
I copied humanoid.xml and humanoid.py, renamed to the same name and also in all occurrence in those files. I included init.py from suite and added import for the new suit I just copied.
Since there is no proper documentation I assume making this as playground is the best, right? I know I can register Gym environments in init.py very easily. Is there any way how to develop my own domain and task? Thank you!
The text was updated successfully, but these errors were encountered: