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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Duplicated from  abhilash88/age-gender-prediction

luoyou1014
/
age-gender-prediction

Image Classification
PyTorch
Transformers
English
vit
vision-transformer
age-estimation
gender-classification
face-analysis
computer-vision
multi-task-learning
Eval Results (legacy)
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use luoyou1014/age-gender-prediction with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="luoyou1014/age-gender-prediction")
    pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")
    # Load model directly
    from transformers import AutoImageProcessor, AutoModel
    
    processor = AutoImageProcessor.from_pretrained("luoyou1014/age-gender-prediction")
    model = AutoModel.from_pretrained("luoyou1014/age-gender-prediction", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
age-gender-prediction
348 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 2 commits
luoyou1014's picture
luoyou1014
Update preprocessor_config.json
a7bf03d verified 5 months ago
  • .gitattributes
    1.58 kB
    Duplicate from abhilash88/age-gender-prediction 5 months ago
  • README.md
    13.5 kB
    Duplicate from abhilash88/age-gender-prediction 5 months ago
  • config.json
    67 Bytes
    Duplicate from abhilash88/age-gender-prediction 5 months ago
  • model.py
    4.87 kB
    Duplicate from abhilash88/age-gender-prediction 5 months ago
  • performance_comparison.png
    539 kB
    xet
    Duplicate from abhilash88/age-gender-prediction 5 months ago
  • preprocessor_config.json
    336 Bytes
    Update preprocessor_config.json 5 months ago
  • pytorch_model.bin

    Detected Pickle imports (3)

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

    What is a pickle import?

    347 MB
    xet
    Duplicate from abhilash88/age-gender-prediction 5 months ago
  • training_logs.json
    2.61 kB
    Duplicate from abhilash88/age-gender-prediction 5 months ago