Instructions to use Luuu01/RESNETDONE with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Luuu01/RESNETDONE with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Luuu01/RESNETDONE") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("Luuu01/RESNETDONE") model = AutoModelForImageClassification.from_pretrained("Luuu01/RESNETDONE") - Notebooks
- Google Colab
- Kaggle
Promena
Browse files- preprocessor_config.json +4 -12
preprocessor_config.json
CHANGED
|
@@ -18,20 +18,12 @@
|
|
| 18 |
"do_normalize": true,
|
| 19 |
"do_rescale": true,
|
| 20 |
"do_resize": true,
|
| 21 |
-
"image_mean":
|
| 22 |
-
0.485,
|
| 23 |
-
0.456,
|
| 24 |
-
0.406
|
| 25 |
-
],
|
| 26 |
"image_processor_type": "ConvNextImageProcessor",
|
| 27 |
-
"image_std":
|
| 28 |
-
|
| 29 |
-
0.224,
|
| 30 |
-
0.225
|
| 31 |
-
],
|
| 32 |
-
"resample": 3,
|
| 33 |
"rescale_factor": 0.00392156862745098,
|
| 34 |
"size": {
|
| 35 |
-
"shortest_edge":
|
| 36 |
}
|
| 37 |
}
|
|
|
|
| 18 |
"do_normalize": true,
|
| 19 |
"do_rescale": true,
|
| 20 |
"do_resize": true,
|
| 21 |
+
"image_mean": 0.5,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
"image_processor_type": "ConvNextImageProcessor",
|
| 23 |
+
"image_std": 0.201,
|
| 24 |
+
"resample": 1,
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
"rescale_factor": 0.00392156862745098,
|
| 26 |
"size": {
|
| 27 |
+
"shortest_edge": 48
|
| 28 |
}
|
| 29 |
}
|