MCPcopy Create free account
hub / github.com/InternRobotics/EmbodiedScan / init_weights

Method init_weights

embodiedscan/models/necks/mink_neck.py:128–131  ·  view source on GitHub ↗

Initialize weights.

(self)

Source from the content-addressed store, hash-verified

126 dimension=3)
127
128 def init_weights(self):
129 """Initialize weights."""
130 nn.init.normal_(self.conv_cls.kernel, std=.01)
131 nn.init.constant_(self.conv_cls.bias, bias_init_with_prob(.01))
132
133 def forward(self, x: List[Tensor], batch_size) -> Tuple[List[Tensor], ...]:
134 """Forward pass.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected