git
ask
hub
Privacy
Terms
Sign in with GitHub
avbiswas/sam2-mlx
↗
Stars ·
36
Language ·
Python
Simplify and Visualize This Repo
Scan the safety of this repo
Self Host this repo
Check out more work of Developer: avbiswas
Ask anything about this repo to start.
Use sam2-mlx to load a clip, add a positive click on frame 30, and propagate the mask both directions
Run mlx-sam-convert on the SAM 2.1 large Hugging Face checkpoint and load it via from_pretrained
Enable precompute_image_features and float16 memory in sam2-mlx for repeated correction passes on the same video
Use stream_in_video to yield per-frame masks into a websocket and emit the final stacked tensor at the end
Full explanation on explaingit →
📎
Send
By chatting or signing in you agree to the
Terms
and chat-message logging (revocable in
History
).