Yangker's picture
Upload folder using huggingface_hub
c254ac1 verified

A newer version of the Gradio SDK is available: 5.23.3

Upgrade
metadata
description: >-
  Master building SAM ViT models with Ultralytics. Discover steps to leverage
  the power of SAM and Vision Transformer sessions.
keywords: >-
  Ultralytics, SAM, build sam, vision transformer, vits, build_sam_vit_l,
  build_sam_vit_b, build_sam

Reference for ultralytics/models/sam/build.py

!!! Note

This file is available at [https://github.com/ultralytics/ultralytics/blob/main/ultralytics/models/sam/build.py](https://github.com/ultralytics/ultralytics/blob/main/ultralytics/models/sam/build.py). If you spot a problem please help fix it by [contributing](https://docs.ultralytics.com/help/contributing/) a [Pull Request](https://github.com/ultralytics/ultralytics/edit/main/ultralytics/models/sam/build.py) 🛠️. Thank you 🙏!



::: ultralytics.models.sam.build.build_sam_vit_h



::: ultralytics.models.sam.build.build_sam_vit_l



::: ultralytics.models.sam.build.build_sam_vit_b



::: ultralytics.models.sam.build.build_mobile_sam



::: ultralytics.models.sam.build._build_sam



::: ultralytics.models.sam.build.build_sam