How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-classification", model="rizvandwiki/gender-classification")
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")
model = AutoModelForImageClassification.from_pretrained("rizvandwiki/gender-classification")
Quick Links

gender-classification

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

female

male

male

Downloads last month
1,388,997
Safetensors
Model size
85.8M params
Tensor type
F32
Β·
Inference Providers NEW

Model tree for rizvandwiki/gender-classification

Quantizations
1 model

Spaces using rizvandwiki/gender-classification 27

Evaluation results