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
{{ message }}
Repository navigation
[Bug Report] Humanoid-v4 does not have contact_cost #504
At the time I removed it because this reward was almost 0 due to the cost weight. However, I probably missed adding it back. Can you re-add this argument and additional reward so that the user has access to it? Thanks
I run a test to verify @rodrigodelazcano's claim that the contact_cost is insignificant:
Expiation: v4 (blue): the v4 as it here, was used for training and evaluation v4 (fixed reward) (orange): the v4 with the inclusion of contact_cost, used for training and evaluation v4 (fixed reward on eval only) (green): the v4 was used during training, but the v4 with contact_cost was used for evaluation
Analysis:
first: comparing (blue) and (orange), we can clearly see that removing contact_cost results in a (similar but) measurably different training trajectory.
second: comparing (blue) and (green), we can see that the contact_cost is not insignificant, and clearly it is different across different policies.
Conclusion: contact_cost should be included in the v5 release
I agree that including the contact_cost is not equivalent but the performance difference is minimal so I'm not sure if it is worth including the parameter when there is little impact on the environment / agent
@pseudo-rnd-thoughts That original implementation included contact_cost, and it is an important part of robotic systems. (Note: the user could set contact_cost_weight=0 if they wanted to disable it.)
Activity
rodrigodelazcano commentedon May 14, 2023
At the time I removed it because this reward was almost 0 due to the cost weight. However, I probably missed adding it back. Can you re-add this argument and additional reward so that the user has access to it? Thanks
Kallinteris-Andreas commentedon May 14, 2023
I will add it to the change list for
v5Kallinteris-Andreas commentedon May 24, 2023
I run a test to verify @rodrigodelazcano's claim that the

contact_costis insignificant:Expiation:
v4(blue): thev4as it here, was used for training and evaluationv4 (fixed reward)(orange): thev4with the inclusion ofcontact_cost, used for training and evaluationv4 (fixed reward on eval only)(green): thev4was used during training, but thev4withcontact_costwas used for evaluationAnalysis:
first: comparing (blue) and (orange), we can clearly see that removing
contact_costresults in a (similar but) measurably different training trajectory.second: comparing (blue) and (green), we can see that the
contact_costis not insignificant, and clearly it is different across different policies.Conclusion:
contact_costshould be included in thev5releasepseudo-rnd-thoughts commentedon May 25, 2023
I agree that including the
contact_costis not equivalent but the performance difference is minimal so I'm not sure if it is worth including the parameter when there is little impact on the environment / agentKallinteris-Andreas commentedon May 25, 2023
@pseudo-rnd-thoughts That original implementation included
contact_cost, and it is an important part of robotic systems. (Note: the user could setcontact_cost_weight=0if they wanted to disable it.)