MCPcopy Create free account
hub / github.com/TeleHuman/TextOp / should_eval

Method should_eval

TextOpRobotMDAR/robotmdar/train/manager.py:165–167  ·  view source on GitHub ↗

是否需要评估

(self)

Source from the content-addressed store, hash-verified

163 self._total_eval_extras_dict = defaultdict(lambda: torch.tensor(0.0))
164
165 def should_eval(self) -> bool:
166 """是否需要评估"""
167 return self._to_eval_steps > 0
168
169 def grad_clip(self, model):
170 """

Callers 2

mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected