Instructions to use RationAI/vit-patch16-224-prostate with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RationAI/vit-patch16-224-prostate with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("RationAI/vit-patch16-224-prostate", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -2
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"architecture": "vit_base_patch16_224",
|
| 3 |
"architectures": [
|
| 4 |
"ViTForImageClassification"
|
| 5 |
],
|
|
@@ -30,7 +30,7 @@
|
|
| 30 |
"transformers_version": "4.57.6",
|
| 31 |
|
| 32 |
"pretrained_cfg": {
|
| 33 |
-
"architecture": "vit_base_patch16_224",
|
| 34 |
"num_classes": 1,
|
| 35 |
"input_size": [3, 224, 224],
|
| 36 |
"pool_size": null,
|
|
|
|
| 1 |
{
|
| 2 |
+
"architecture": "vit_base_patch16_224.augreg_in21k",
|
| 3 |
"architectures": [
|
| 4 |
"ViTForImageClassification"
|
| 5 |
],
|
|
|
|
| 30 |
"transformers_version": "4.57.6",
|
| 31 |
|
| 32 |
"pretrained_cfg": {
|
| 33 |
+
"architecture": "vit_base_patch16_224.augreg_in21k",
|
| 34 |
"num_classes": 1,
|
| 35 |
"input_size": [3, 224, 224],
|
| 36 |
"pool_size": null,
|