Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

rizvandwiki
/
gender-classification

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

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

  • Libraries
  • Transformers

    How to use rizvandwiki/gender-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="rizvandwiki/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("rizvandwiki/gender-classification")
    model = AutoModelForImageClassification.from_pretrained("rizvandwiki/gender-classification")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
gender-classification
687 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 4 commits
rizvandwiki's picture
rizvandwiki
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#1)
380b176 almost 3 years ago
  • images
    commit files to HF hub over 3 years ago
  • runs
    commit files to HF hub over 3 years ago
  • .gitattributes
    1.58 kB
    commit files to HF hub over 3 years ago
  • README.md
    747 Bytes
    commit files to HF hub over 3 years ago
  • config.json
    727 Bytes
    commit files to HF hub over 3 years ago
  • model.safetensors
    343 MB
    xet
    Adding `safetensors` variant of this model (#1) almost 3 years ago
  • preprocessor_config.json
    325 Bytes
    commit files to HF hub over 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (3)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    343 MB
    xet
    commit files to HF hub over 3 years ago