MCPcopy Create free account
hub / github.com/OpenDriveLab/ReSim / freeze

Method freeze

sat/sgm/modules/encoders/modules.py:255–256  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

253 self.freeze()
254
255 def freeze(self):
256 self.register_tokens.requires_grad = False
257
258 def forward(self, video):
259 bs = video.size(0)

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected