Instructions to use SoulPerforms/Butterfly_image_classification_resnet18 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use SoulPerforms/Butterfly_image_classification_resnet18 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="SoulPerforms/Butterfly_image_classification_resnet18") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("SoulPerforms/Butterfly_image_classification_resnet18", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Delete preprocessor_config.json
Browse files- preprocessor_config.json +0 -17
preprocessor_config.json
DELETED
|
@@ -1,17 +0,0 @@
|
|
| 1 |
-
{
|
| 2 |
-
"crop_pct": 0.875,
|
| 3 |
-
"do_normalize": true,
|
| 4 |
-
"do_resize": true,
|
| 5 |
-
"image_mean": [
|
| 6 |
-
0.485,
|
| 7 |
-
0.456,
|
| 8 |
-
0.406
|
| 9 |
-
],
|
| 10 |
-
"image_std": [
|
| 11 |
-
0.229,
|
| 12 |
-
0.224,
|
| 13 |
-
0.225
|
| 14 |
-
],
|
| 15 |
-
"resample": 3,
|
| 16 |
-
"size": 224
|
| 17 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|