Image Classification
PyTorch
Transformers
English
vit
vision-transformer
age-estimation
gender-classification
face-analysis
computer-vision
multi-task-learning
Eval Results (legacy)
Instructions to use luoyou1014/age-gender-prediction with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use luoyou1014/age-gender-prediction with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="luoyou1014/age-gender-prediction") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModel processor = AutoImageProcessor.from_pretrained("luoyou1014/age-gender-prediction") model = AutoModel.from_pretrained("luoyou1014/age-gender-prediction", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Ctrl+K