mirror of
https://github.com/facebookresearch/sam2.git
synced 2025-09-18 04:32:48 +08:00
nits
This commit is contained in:
parent
c692a7743d
commit
b3eaddab6f
@ -980,9 +980,7 @@ class SAM2VideoPredictorVOS(SAM2VideoPredictor):
|
|||||||
self._compile_all_components()
|
self._compile_all_components()
|
||||||
|
|
||||||
def _compile_all_components(self):
|
def _compile_all_components(self):
|
||||||
print(
|
print("Compiling all components for VOS setting. First time may be very slow.")
|
||||||
"Compiling all components for for vos setting. First time may be very slow."
|
|
||||||
)
|
|
||||||
self.memory_encoder.forward = torch.compile(
|
self.memory_encoder.forward = torch.compile(
|
||||||
self.memory_encoder.forward,
|
self.memory_encoder.forward,
|
||||||
mode="max-autotune",
|
mode="max-autotune",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user