Instructions to use nvidia/DAM-3B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Describe Anything
How to use nvidia/DAM-3B with Describe Anything:
# pip install git+https://github.com/NVlabs/describe-anything from huggingface_hub import snapshot_download from dam import DescribeAnythingModel snapshot_download(nvidia/DAM-3B, local_dir="checkpoints") dam = DescribeAnythingModel( model_path="checkpoints", conv_mode="v1", prompt_mode="focal_prompt", )
- Notebooks
- Google Colab
- Kaggle
Code snippet to use the model
#1
by mervenoyan - opened
Hello again! 🤗
It would be great to have a code snippet on using this and the video model, just like the one in the self-contained model card so people know how they can get started with the model ☺️