Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

sgdkn
/
gender-classification

Image Classification
Transformers
TensorBoard
Safetensors
PyTorch
vit
huggingpics
Eval Results (legacy)
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use sgdkn/gender-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use sgdkn/gender-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="sgdkn/gender-classification")
    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("sgdkn/gender-classification")
    model = AutoModelForImageClassification.from_pretrained("sgdkn/gender-classification")
  • Notebooks
  • Google Colab
  • Kaggle
gender-classification / images
121 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
sgdkn's picture
sgdkn
commit files to HF hub
6b2bc7e almost 2 years ago
  • child.jpg
    29.3 kB
    xet
    commit files to HF hub almost 2 years ago
  • female.jpg
    51.3 kB
    xet
    commit files to HF hub almost 2 years ago
  • male.jpg
    40.3 kB
    xet
    commit files to HF hub almost 2 years ago