Instructions to use nvidia/DAM-3B-Self-Contained with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Describe Anything
How to use nvidia/DAM-3B-Self-Contained 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-Self-Contained, local_dir="checkpoints") dam = DescribeAnythingModel( model_path="checkpoints", conv_mode="v1", prompt_mode="focal_prompt", )
- Notebooks
- Google Colab
- Kaggle
File size: 394 Bytes
32b7847 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | {
"do_convert_rgb": true,
"do_normalize": true,
"do_rescale": true,
"do_resize": true,
"image_mean": [
0.5,
0.5,
0.5
],
"image_processor_type": "SiglipImageProcessor",
"image_std": [
0.5,
0.5,
0.5
],
"processor_class": "SiglipProcessor",
"resample": 3,
"rescale_factor": 0.00392156862745098,
"size": {
"height": 384,
"width": 384
}
}
|