Image Classification
Transformers
PyTorch
TensorBoard
Safetensors
vit
huggingpics
Eval Results (legacy)
Instructions to use rizvandwiki/gender-classification-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use rizvandwiki/gender-classification-2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="rizvandwiki/gender-classification-2") 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("rizvandwiki/gender-classification-2") model = AutoModelForImageClassification.from_pretrained("rizvandwiki/gender-classification-2") - Inference
- Notebooks
- Google Colab
- Kaggle
# Load model directly
from transformers import AutoImageProcessor, AutoModelForImageClassification
processor = AutoImageProcessor.from_pretrained("rizvandwiki/gender-classification-2")
model = AutoModelForImageClassification.from_pretrained("rizvandwiki/gender-classification-2")Quick Links
gender-classification-2
Autogenerated by HuggingPicsπ€πΌοΈ
Create your own image classifier for anything by running the demo on Google Colab.
Report any issues with the demo at the github repo.
Example Images
female
male
- Downloads last month
- 156,296
Spaces using rizvandwiki/gender-classification-2 16
π
Djbahiaiajak/njklludndndjn
π
narendra-mall/gender-classification
π
bit-guber/Face_Features_Extraction
π
gartajackhats1985/custom_nodes
ββ
sohaibshoukat56/gender-detection-app
Evaluation results
- Accuracyself-reported0.991


# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="rizvandwiki/gender-classification-2") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")