MCPcopy Create free account
hub / github.com/TeleHuman/PBHC / evaluate

Method evaluate

humanoidverse/agents/modules/agent_modules.py:163–166  ·  view source on GitHub ↗
(self, obs, obs_key="actor_obs", **kwargs)

Source from the content-addressed store, hash-verified

161 return actions_mean
162
163 def evaluate(self, obs, obs_key="actor_obs", **kwargs):
164 motion_embedding = self.actor.motion_encoding(obs["future_motion_targets"])
165 critic_obs = torch.cat([obs[obs_key], obs["priv_obs"], motion_embedding], dim=-1)
166 return self.critic(critic_obs)

Callers

nothing calls this directly

Calls 2

criticMethod · 0.95
motion_encodingMethod · 0.80

Tested by

no test coverage detected