Instructions to use ibombonato/swin-age-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ibombonato/swin-age-classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ibombonato/swin-age-classifier") 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("ibombonato/swin-age-classifier") model = AutoModelForImageClassification.from_pretrained("ibombonato/swin-age-classifier") - Notebooks
- Google Colab
- Kaggle
swin-age-classifier
Trained on 80 epochs -
Data from: Ai Crowd - Blitz ai-blitz-xiii - Age Prediction https://www.aicrowd.com/challenges/ai-blitz-xiii/problems/age-prediction/
Notebook based on HuggingPics
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.
- Downloads last month
- 303
Evaluation results
- Accuracyself-reported0.817