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

dima806
/
fairface_age_image_detection

Image Classification
Transformers
Safetensors
vit
Model card Files Files and versions
xet
Community
3

Instructions to use dima806/fairface_age_image_detection with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use dima806/fairface_age_image_detection with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="dima806/fairface_age_image_detection")
    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("dima806/fairface_age_image_detection")
    model = AutoModelForImageClassification.from_pretrained("dima806/fairface_age_image_detection", device_map="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
fairface_age_image_detection
4.46 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 14 commits
Abib7846's picture
Abib7846
Upload 108.jpg
97a884c verified 7 months ago
  • checkpoint-32
    Upload folder using huggingface_hub almost 2 years ago
  • checkpoint-4688
    Upload folder using huggingface_hub almost 2 years ago
  • checkpoint-8752
    Upload folder using huggingface_hub almost 2 years ago
  • checkpoint-9376
    Upload folder using huggingface_hub almost 2 years ago
  • .gitattributes
    1.56 kB
    Upload 108.jpg 7 months ago
  • 108.jpg
    147 kB
    xet
    Upload 108.jpg 7 months ago
  • README.md
    1.2 kB
    Update README.md almost 2 years ago
  • config.json
    967 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • model.safetensors
    343 MB
    xet
    Upload folder using huggingface_hub almost 2 years ago
  • preprocessor_config.json
    351 Bytes
    Upload folder using huggingface_hub almost 2 years ago
  • training_args.bin

    Detected Pickle imports (10)

    • "transformers.trainer_pt_utils.AcceleratorConfig",
    • "transformers.trainer_utils.IntervalStrategy",
    • "transformers.trainer_utils.HubStrategy",
    • "accelerate.state.PartialState",
    • "torch.device",
    • "transformers.training_args.OptimizerNames",
    • "transformers.training_args.TrainingArguments",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.trainer_utils.SaveStrategy"

    How to fix it?

    5.3 kB
    xet
    Upload folder using huggingface_hub almost 2 years ago