--- pipeline_tag: mask-generation license: apache-2.0 library_name: zeromodels tags: - keras - zeromodels - sam2 - tf - jax - pytorch --- # sam2_hiera_tiny (Keras 3) [![GitHub](https://img.shields.io/badge/GitHub-ZeroModels-black?logo=github)](https://github.com/IMvision12/ZeroModels) [![Docs](https://img.shields.io/badge/Docs-SAM2-blue)](https://imvision12.github.io/ZeroModels/sam2/) [![Collection](https://img.shields.io/badge/HF-SAM%20collection-yellow)](https://huggingface.co/collections/zeromodels/sam-v1-v2-v3-6a8eaf73a274fffa2ea83cfd) Pure-Keras 3 weights for [zeromodels](https://github.com/IMvision12/ZeroModels), mirrored from the source. License: `apache-2.0`. ```python from zeromodels.models.sam2 import SAM2PromptableSegment model = SAM2PromptableSegment.from_weights("sam2_hiera_tiny") ```