Age, gender and race prediction models with benchmark 8a7c723 verified
Tijmen commited on
How to use TimmaJ/age-gender-race-prediction with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("image-classification", model="TimmaJ/age-gender-race-prediction")
pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png") # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("TimmaJ/age-gender-race-prediction", device_map="auto")