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

  • Log In
  • Sign Up

microsoft
/
resnet-26

Image Classification
Transformers
PyTorch
google-tensorflow TensorFlow
Safetensors
resnet
Model card Files Files and versions
xet
Community
2

Instructions to use microsoft/resnet-26 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use microsoft/resnet-26 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="microsoft/resnet-26")
    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("microsoft/resnet-26")
    model = AutoModelForImageClassification.from_pretrained("microsoft/resnet-26")
  • Notebooks
  • Google Colab
  • Kaggle
resnet-26
193 MB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 5 commits
nielsr's picture
nielsr HF Staff
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model (#2)
73473d0 about 3 years ago
  • .gitattributes
    1.23 kB
    Adding `safetensors` variant of this model (#2) about 3 years ago
  • config.json
    69.6 kB
    Add model about 4 years ago
  • model.safetensors
    64.1 MB
    xet
    Adding `safetensors` variant of this model (#2) about 3 years ago
  • preprocessor_config.json
    266 Bytes
    Add feature extractor about 4 years ago
  • pytorch_model.bin
    64.2 MB
    xet
    Add model about 4 years ago
  • tf_model.h5
    64.3 MB
    xet
    Add TF weights (#1) almost 4 years ago