Skip to content

Change TimeScale from Python #56

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

Closed
dracolytch opened this issue Oct 1, 2017 · 2 comments
Closed

Change TimeScale from Python #56

dracolytch opened this issue Oct 1, 2017 · 2 comments

Comments

@dracolytch
Copy link

Hey all, debugging my first custom environment. It'd be great if there were a fast/easy way to change the Academy's TimeScale from a setting in python, so that we could have things be really slow for debugging the ML interface, and then crank it up for actual training.

@awjuliani
Copy link
Contributor

@dracolytch,

Thanks for your interested in ML-Agents!

You can change the time scale from the Academy inspector window from within the Unity editor: https://github.com/Unity-Technologies/ml-agents/blob/master/docs/Agents-Editor-Interface.md#academy

If you want to change via python, it is possible to switch between training and inference models when restarting the environment by using env.reset(train_mode=True/False).

@lock
Copy link

lock bot commented Jan 4, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jan 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants