Instructions to use Leilab/gender_class with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Leilab/gender_class with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Leilab/gender_class") 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("Leilab/gender_class") model = AutoModelForImageClassification.from_pretrained("Leilab/gender_class", device_map="auto") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Leilab/gender_class: direct link, hf CLI and curl.
- Browser
- Download file 723 Bytes
-
https://huggingface.co/Leilab/gender_class/resolve/main/README.md
- Command line
-
hf download hf://Leilab/gender_class/README.md
-
curl -L -o README.md https://huggingface.co/Leilab/gender_class/resolve/main/README.md
723 Bytes
metadata
tags:
- image-classification
- pytorch
- huggingpics
metrics:
- accuracy
model-index:
- name: gender_class
results:
- task:
name: Image Classification
type: image-classification
metrics:
- name: Accuracy
type: accuracy
value: 0.9555555582046509
gender_class
Autogenerated by HuggingPics🤗🖼️
Create your own image classifier for anything by running the demo on Google Colab.
Report any issues with the demo at the github repo.

