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

Method train

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

Source from the content-addressed store, hash-verified

61class MeshXL(nn.Module):
62
63 def train(self, mode: bool = True):
64 super().train(mode)
65 # self.transformer.eval()
66 # for param in self.transformer.parameters():
67 # param.requires_grad = False
68 return self
69
70 def __init__(self, args):
71 super().__init__()

Callers 2

__init__Method · 0.95
trainMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected