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
File size: 873 Bytes
382867a | 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 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 | {
"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"
}
} |