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