Instructions to use ares1123/gender_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ares1123/gender_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ares1123/gender_classifier") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("ares1123/gender_classifier") model = AutoModelForImageClassification.from_pretrained("ares1123/gender_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from ares1123/gender_classifier: direct link, hf CLI and curl.
- Browser
- Download file 416 Bytes
-
https://huggingface.co/ares1123/gender_classifier/resolve/main/README.md
- Command line
-
hf download hf://ares1123/gender_classifier/README.md
-
curl -L -o README.md https://huggingface.co/ares1123/gender_classifier/resolve/main/README.md
416 Bytes
| tags: | |
| - image-classification | |
| - pytorch | |
| - huggingpics | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: rare-puppers | |
| results: | |
| - task: | |
| name: Image Classification | |
| type: image-classification | |
| metrics: | |
| - name: Accuracy | |
| type: accuracy | |
| value: 0.8478260636329651 | |
| # Age Classifier | |
| ## Example Images | |
| #### Female | |
|  | |
| #### Male | |
|  |