MCPcopy Create free account
hub / github.com/OpenMeshLab/MeshXL / train

Method train

models/x_mesh_xl/get_model.py:12–17  ·  view source on GitHub ↗
(self, mode: bool = True)

Source from the content-addressed store, hash-verified

10class ConditionEncoder(nn.Module):
11
12 def train(self, mode: bool = True):
13 super().train(mode)
14 self.multi_encoder.eval()
15 for param in self.multi_encoder.parameters():
16 param.requires_grad = False
17 return self
18
19 def __init__(self, args, hidden_size):
20 super().__init__()

Callers

nothing calls this directly

Calls 1

trainMethod · 0.45

Tested by

no test coverage detected