Access to hyperparameters from inside unity?
Is there a way to access the hyperparameters from the code?
Changing the hyperparameters in Unity is not intended.
If hyperparameters were to be changed in Unity, you couldn't modify them, while using a build of the environment for training. Also, this represents the general flow, like how it is done for Open AI's gym. Thus, it is a little more convenient for RL researchers.
I think what you want to be doing is changing the values in the config file https://github.com/Unity-Technologies/ml-agents/blob/master/config/trainer_config.yaml
Thank you for the discussion. We are closing this issue due to inactivity.
I'd be interested in knowing if there were a way to send hyperparameters from Jupyter. I understand the .yaml config files can be used with the ml-agents command line, but I'm invoking a torch library and need to use the Jupyter setup, as far as I can tell. I would like to adjust various parameters within Unity from Jupyter so that it will be easy to change hyperparameters, especially if running headless. An example parameter is adjusting the number of agents on a team in a team-based environment.
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.