MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / train

Method train

PATH/core/distributed_utils.py:56–58  ·  view source on GitHub ↗
(self, mode=True)

Source from the content-addressed store, hash-verified

54 return self.module(*inputs, **kwargs)
55
56 def train(self, mode=True):
57 super(DistModule, self).train(mode)
58 self.module.train(mode)
59
60 def reduce_gradients(self, task_specific=False):
61 if self.sync:

Callers 5

__init__Method · 0.80
pre_runMethod · 0.80
pre_runMethod · 0.80
inference_contextFunction · 0.80
profileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected