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

thethinkmachine
/
student-resnet18-tiny-imagenet

Image Classification
Transformers
Safetensors
resnet
Generated from Trainer
Model card Files Files and versions
xet
Community

Instructions to use thethinkmachine/student-resnet18-tiny-imagenet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use thethinkmachine/student-resnet18-tiny-imagenet with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="thethinkmachine/student-resnet18-tiny-imagenet")
    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("thethinkmachine/student-resnet18-tiny-imagenet")
    model = AutoModelForImageClassification.from_pretrained("thethinkmachine/student-resnet18-tiny-imagenet", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
student-resnet18-tiny-imagenet
45.2 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
thethinkmachine's picture
thethinkmachine
Model save
bc6d38a verified 10 months ago
  • .gitattributes
    1.52 kB
    initial commit 10 months ago
  • README.md
    4.72 kB
    Model save 10 months ago
  • config.json
    9.38 kB
    Model save 10 months ago
  • model.safetensors
    45.2 MB
    xet
    Model save 10 months ago
  • preprocessor_config.json
    633 Bytes
    Model save 10 months ago
  • training_args.bin
    5.84 kB
    xet
    Model save 10 months ago