Instructions to use Starmaster7/bird_genus_image_classification_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Starmaster7/bird_genus_image_classification_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Starmaster7/bird_genus_image_classification_model") 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("Starmaster7/bird_genus_image_classification_model") model = AutoModelForImageClassification.from_pretrained("Starmaster7/bird_genus_image_classification_model", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "architectures": [ | |
| "EfficientNetForImageClassification" | |
| ], | |
| "batch_norm_eps": 0.001, | |
| "batch_norm_momentum": 0.99, | |
| "depth_coefficient": 1.4, | |
| "depth_divisor": 8, | |
| "depthwise_padding": [ | |
| 5, | |
| 18 | |
| ], | |
| "drop_connect_rate": 0.2, | |
| "dropout_rate": 0.3, | |
| "dtype": "float32", | |
| "expand_ratios": [ | |
| 1, | |
| 6, | |
| 6, | |
| 6, | |
| 6, | |
| 6, | |
| 6 | |
| ], | |
| "hidden_act": "swish", | |
| "hidden_dim": 1536, | |
| "id2label": { | |
| "0": "Muscicapidae", | |
| "1": "Anatidae", | |
| "2": "Scolopacidae", | |
| "3": "Strigidae", | |
| "4": "Rallidae", | |
| "5": "Paridae", | |
| "6": "Motacillidae", | |
| "7": "Accipitridae", | |
| "8": "Emberizidae", | |
| "9": "Fringillidae", | |
| "10": "Picidae", | |
| "11": "Columbidae", | |
| "12": "Falconidae", | |
| "13": "Laridae", | |
| "14": "Sylviidae", | |
| "15": "Charadriidae", | |
| "16": "Passeridae", | |
| "17": "Hirundinidae", | |
| "18": "Acrocephalidae", | |
| "19": "Alaudidae", | |
| "20": "Phylloscopidae", | |
| "21": "Turdidae", | |
| "22": "Corvidae", | |
| "23": "Phasianidae", | |
| "24": "Laniidae", | |
| "25": "Ardeidae", | |
| "26": "Phalacrocoracidae" | |
| }, | |
| "image_size": 300, | |
| "in_channels": [ | |
| 32, | |
| 16, | |
| 24, | |
| 40, | |
| 80, | |
| 112, | |
| 192 | |
| ], | |
| "initializer_range": 0.02, | |
| "kernel_sizes": [ | |
| 3, | |
| 3, | |
| 5, | |
| 3, | |
| 5, | |
| 5, | |
| 3 | |
| ], | |
| "label2id": { | |
| "Accipitridae": 7, | |
| "Acrocephalidae": 18, | |
| "Alaudidae": 19, | |
| "Anatidae": 1, | |
| "Ardeidae": 25, | |
| "Charadriidae": 15, | |
| "Columbidae": 11, | |
| "Corvidae": 22, | |
| "Emberizidae": 8, | |
| "Falconidae": 12, | |
| "Fringillidae": 9, | |
| "Hirundinidae": 17, | |
| "Laniidae": 24, | |
| "Laridae": 13, | |
| "Motacillidae": 6, | |
| "Muscicapidae": 0, | |
| "Paridae": 5, | |
| "Passeridae": 16, | |
| "Phalacrocoracidae": 26, | |
| "Phasianidae": 23, | |
| "Phylloscopidae": 20, | |
| "Picidae": 10, | |
| "Rallidae": 4, | |
| "Scolopacidae": 2, | |
| "Strigidae": 3, | |
| "Sylviidae": 14, | |
| "Turdidae": 21 | |
| }, | |
| "model_type": "efficientnet", | |
| "num_block_repeats": [ | |
| 1, | |
| 2, | |
| 2, | |
| 3, | |
| 3, | |
| 4, | |
| 1 | |
| ], | |
| "num_channels": 3, | |
| "num_hidden_layers": 64, | |
| "out_channels": [ | |
| 16, | |
| 24, | |
| 40, | |
| 80, | |
| 112, | |
| 192, | |
| 320 | |
| ], | |
| "pooling_type": "mean", | |
| "problem_type": "single_label_classification", | |
| "squeeze_expansion_ratio": 0.25, | |
| "strides": [ | |
| 1, | |
| 2, | |
| 2, | |
| 2, | |
| 1, | |
| 2, | |
| 1 | |
| ], | |
| "transformers_version": "5.13.1", | |
| "use_cache": false, | |
| "width_coefficient": 1.2 | |
| } | |