Upload sam2.py with huggingface_hub
Browse files
sam2.py
CHANGED
@@ -4015,7 +4015,7 @@ class SAM2VideoPredictor(SAM2Base):
|
|
4015 |
)
|
4016 |
processing_order = range(start_frame_idx, end_frame_idx + 1)
|
4017 |
|
4018 |
-
for frame_idx in tqdm(processing_order, desc="propagate in video"):
|
4019 |
# We skip those frames already in consolidated outputs (these are frames
|
4020 |
# that received input clicks or mask). Note that we cannot directly run
|
4021 |
# batched forward on them via `_run_single_frame_inference` because the
|
|
|
4015 |
)
|
4016 |
processing_order = range(start_frame_idx, end_frame_idx + 1)
|
4017 |
|
4018 |
+
for frame_idx in tqdm(processing_order, desc="propagate in video", disable=True):
|
4019 |
# We skip those frames already in consolidated outputs (these are frames
|
4020 |
# that received input clicks or mask). Note that we cannot directly run
|
4021 |
# batched forward on them via `_run_single_frame_inference` because the
|