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
Update preprocessor_config.json
Browse files- preprocessor_config.json +0 -1
preprocessor_config.json
CHANGED
|
@@ -2,7 +2,6 @@
|
|
| 2 |
"crop_pct": 0.875,
|
| 3 |
"do_normalize": true,
|
| 4 |
"do_resize": true,
|
| 5 |
-
"feature_extractor_type": "ConvNextFeatureExtractor",
|
| 6 |
"image_mean": [
|
| 7 |
0.485,
|
| 8 |
0.456,
|
|
|
|
| 2 |
"crop_pct": 0.875,
|
| 3 |
"do_normalize": true,
|
| 4 |
"do_resize": true,
|
|
|
|
| 5 |
"image_mean": [
|
| 6 |
0.485,
|
| 7 |
0.456,
|