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

  • Log In
  • Sign Up

MLLabIISc
/
ModHiFi-ResNet50-ImageNet-Small

Image Classification
Transformers
Safetensors
English
resnet
vision
pruning
sparse
custom_code
Model card Files Files and versions
xet
Community

Instructions to use MLLabIISc/ModHiFi-ResNet50-ImageNet-Small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use MLLabIISc/ModHiFi-ResNet50-ImageNet-Small with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="MLLabIISc/ModHiFi-ResNet50-ImageNet-Small", trust_remote_code=True)
    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("MLLabIISc/ModHiFi-ResNet50-ImageNet-Small", trust_remote_code=True)
    model = AutoModelForImageClassification.from_pretrained("MLLabIISc/ModHiFi-ResNet50-ImageNet-Small", trust_remote_code=True)
  • Notebooks
  • Google Colab
  • Kaggle
ModHiFi-ResNet50-ImageNet-Small
69.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Dhruva-hf's picture
Dhruva-hf
Add model
33c2790 verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    5.11 kB
    Add model 3 months ago
  • config.json
    71.3 kB
    Add model 3 months ago
  • model.safetensors
    69.8 MB
    xet
    Add model 3 months ago
  • modelling_pruned_resnet50.py
    4.86 kB
    Add model 3 months ago
  • preprocessor_config.json
    440 Bytes
    Add model 3 months ago