Instructions to use 1aurent/samvit_base_patch16_1024.pathosam with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- timm
How to use 1aurent/samvit_base_patch16_1024.pathosam with timm:
import timm model = timm.create_model("hf-hub:1aurent/samvit_base_patch16_1024.pathosam", pretrained=True) - Notebooks
- Google Colab
- Kaggle
Download config.json from 1aurent/samvit_base_patch16_1024.pathosam: direct link, hf CLI and curl.
- Browser
- Download file 873 Bytes
-
https://huggingface.co/1aurent/samvit_base_patch16_1024.pathosam/resolve/main/config.json
- Command line
-
hf download hf://1aurent/samvit_base_patch16_1024.pathosam/config.json
-
curl -L -o config.json https://huggingface.co/1aurent/samvit_base_patch16_1024.pathosam/resolve/main/config.json
873 Bytes
| { | |
| "architecture": "samvit_base_patch16", | |
| "num_classes": 0, | |
| "num_features": 256, | |
| "global_pool": "avg", | |
| "model_args": { | |
| "img_size": 1024, | |
| "patch_size": 16, | |
| "window_size": 14, | |
| "global_attn_indexes": [ | |
| 2, | |
| 5, | |
| 8, | |
| 11 | |
| ], | |
| "use_rel_pos": true, | |
| "num_classes": 0 | |
| }, | |
| "pretrained_cfg": { | |
| "tag": "pathosam", | |
| "custom_load": false, | |
| "input_size": [ | |
| 3, | |
| 1024, | |
| 1024 | |
| ], | |
| "fixed_input_size": true, | |
| "interpolation": "bilinear", | |
| "crop_pct": 1.0, | |
| "crop_mode": "center", | |
| "mean": [ | |
| 0.485, | |
| 0.456, | |
| 0.406 | |
| ], | |
| "std": [ | |
| 0.229, | |
| 0.224, | |
| 0.225 | |
| ], | |
| "num_classes": 0, | |
| "pool_size": null, | |
| "first_conv": "patch_embed.proj", | |
| "classifier": "head", | |
| "license": "mit", | |
| "hf_hub_id": "1aurent/samvit_base_patch16_1024.pathosam" | |
| } | |
| } |