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
Upload config.json
Browse files- config.json +17 -0
config.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"avg_down": false,
|
| 3 |
+
"base_width": 64,
|
| 4 |
+
"block_type": "basic",
|
| 5 |
+
"input_channels": 3,
|
| 6 |
+
"layers": [
|
| 7 |
+
2,
|
| 8 |
+
2,
|
| 9 |
+
2,
|
| 10 |
+
2
|
| 11 |
+
],
|
| 12 |
+
"model_type": "resnet",
|
| 13 |
+
"num_classes": 75,
|
| 14 |
+
"stem_type": "",
|
| 15 |
+
"stem_width": 64,
|
| 16 |
+
"transformers_version": "4.38.1"
|
| 17 |
+
}
|