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")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("ibombonato/swin-age-classifier") model = AutoModelForImageClassification.from_pretrained("ibombonato/swin-age-classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from ibombonato/swin-age-classifier: direct link, hf CLI and curl.
- Browser
- Download file 833 Bytes
-
https://huggingface.co/ibombonato/swin-age-classifier/resolve/main/README.md
- Command line
-
hf download hf://ibombonato/swin-age-classifier/README.md
-
curl -L -o README.md https://huggingface.co/ibombonato/swin-age-classifier/resolve/main/README.md
833 Bytes
| tags: | |
| - image-classification | |
| - pytorch | |
| - huggingpics | |
| metrics: | |
| - accuracy | |
| model-index: | |
| - name: swin-age-classifier | |
| results: | |
| - task: | |
| name: Image Classification | |
| type: image-classification | |
| metrics: | |
| - name: Accuracy | |
| type: accuracy | |
| value: 0.8174999952316284 | |
| # 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](https://colab.research.google.com/github/nateraw/huggingpics/blob/main/HuggingPics.ipynb). | |
| Report any issues with the demo at the [github repo](https://github.com/nateraw/huggingpics). |