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