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

Method __init__

humanoidverse/utils/inference_helpers.py:63–71  ·  view source on GitHub ↗

model: The original PyTorch model. input_keys: List of input names as keys for the input dictionary.

(self, actor, left_hand_force_estimator, right_hand_force_estimator)

Source from the content-addressed store, hash-verified

61
62 class PPOForceEstimatorWrapper(nn.Module):
63 def __init__(self, actor, left_hand_force_estimator, right_hand_force_estimator):
64 """
65 model: The original PyTorch model.
66 input_keys: List of input names as keys for the input dictionary.
67 """
68 super(PPOForceEstimatorWrapper, self).__init__()
69 self.actor = actor
70 self.left_hand_force_estimator = left_hand_force_estimator
71 self.right_hand_force_estimator = right_hand_force_estimator
72
73 def forward(self, inputs):
74 """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected