The repository provides code for running inference with the Meta Segment Anything Model 2 (SAM 2), links for downloading the trained model checkpoints, and example notebooks that show how to use the model.
Role in this project:
ML Engineer Contributions:2 PRs, 1 comment, 1 issue in 2 months
Contributions summary:Niels focused on enhancing the `facebookresearch/sam2` repository, which provides code and models related to the Segment Anything Model 2 (SAM 2). Their contributions primarily involved integrating the model with the Hugging Face model hub. The user added functionalities to load pretrained models directly from Hugging Face, specifically modifying `build_sam.py`, `sam2_image_predictor.py`, and `sam2_video_predictor.py` to facilitate this integration. These changes included modifying class methods and adding model ID to filename mappings.