Instructions to use ares1123/gender_classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ares1123/gender_classifier with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ares1123/gender_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("ares1123/gender_classifier") model = AutoModelForImageClassification.from_pretrained("ares1123/gender_classifier", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
d78be83 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:b83f41e9c55c246f178625ec44f48f03bdcbc4ebf96101e46a3e26cec0998d86
size 343265965
|