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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "avg_down": false, | |
| "base_width": 64, | |
| "block_type": "basic", | |
| "input_channels": 3, | |
| "layers": [ | |
| 2, | |
| 2, | |
| 2, | |
| 2 | |
| ], | |
| "model_type": "resnet", | |
| "num_classes": 75, | |
| "stem_type": "", | |
| "stem_width": 64, | |
| "transformers_version": "4.38.1" | |
| } | |