Unity-Technologies / ml-agents

The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.
https://unity.com/products/machine-learning-agents
Other
16.92k stars 4.13k forks source link

Change Brain model on script runtime 0.8.1 #2046

Closed DannyFriky closed 5 years ago

DannyFriky commented 5 years ago

Hi, I'm doing a game with different levels of difficulty, depending on models trained differently, I've seen that I can change the brain from the script with MLAgents.brain but I have not seen how to change the model of a brain, is it currently possible? but my solution is to create different brains and assign to each one the model that I want to use.

Thanks for your attention.

xiaomaogy commented 5 years ago

Yes that's also how we do it (create different brains). You can see how we did it in walljump example environment. @DannyFriky

DannyFriky commented 5 years ago

Thanks you so much ^^

lock[bot] commented 4 years ago

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[bot] commented 4 years ago

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.