Let's assume I have one agent and I trained it for different behaviors separately and as result I have few models. How can I combine all of them together in Unity when running inference? I need agent to switch between brains by some condition.
Currently, this type of hierarchical use of policies is not explicitly supported by ML-Agents but it is an interesting possible feature. I think you'd have to do some significant work to make this happen i.e. create a separate agent with each model and then a meta controller that decides which agent is acting.