You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I was training a simple environment for the driving and operating of the excavator Agent.
Excavators have their unique characteristics, that is, they must first move to the appropriate position before using the robotic arms for dig operations. So, the training can be divided into two NNModels, one for drive and the other for arms.
Considering the observations and actions are different for the Agent, I added two different BehaviorParameters compenents to the Agent, but I found no solutions/functions to switch between the two BehaviorParameters compenents during training?
SetModel function as following is only to replace, not to switch:
SetModel("train_driveNet", driveNet);
SetModel("train_operationNet", operationNet);
How can I switch between the two BehaviorParameters compenents during training?
Thank you for the response!
The text was updated successfully, but these errors were encountered:
Moreover, I checked the example Wall Jump scene.
The Agent of Wall Jump can train two different NNModels by SetModel function in one BehaviorParameters when the dimensions of observations and actions are the same, respectively.
If the dimensions of observations and actions are different in two NNModels, Is there any feasible example code available?
After many tests, the proper answers will be as following:
One Agent can have many BehaviorParameters compenents, but only the first BehaviorParameters can have effects, for the code in Agent.cs line 950 is “m_PolicyFactory = GetComponent< BehaviorParameters >();”.
Hello,
I was training a simple environment for the driving and operating of the excavator Agent.
Excavators have their unique characteristics, that is, they must first move to the appropriate position before using the robotic arms for dig operations. So, the training can be divided into two NNModels, one for drive and the other for arms.
Considering the observations and actions are different for the Agent, I added two different BehaviorParameters compenents to the Agent, but I found no solutions/functions to switch between the two BehaviorParameters compenents during training?
SetModel function as following is only to replace, not to switch:
SetModel("train_driveNet", driveNet);
SetModel("train_operationNet", operationNet);
How can I switch between the two BehaviorParameters compenents during training?
Thank you for the response!
The text was updated successfully, but these errors were encountered: