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

  • Log In
  • Sign Up

Francesco
/
resnet18

Image Classification
Transformers
PyTorch
resnet
Model card Files Files and versions
xet
Community
1

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

  • Libraries
  • Transformers

    How to use Francesco/resnet18 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="Francesco/resnet18")
    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("Francesco/resnet18")
    model = AutoModelForImageClassification.from_pretrained("Francesco/resnet18")
  • Notebooks
  • Google Colab
  • Kaggle
resnet18
46.9 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
Francesco's picture
Francesco
Add model
f51444b about 4 years ago
  • .gitattributes
    690 Bytes
    initial commit about 5 years ago
  • config.json
    69.5 kB
    Add model about 4 years ago
  • preprocessor_config.json
    266 Bytes
    Add feature extractor about 4 years ago
  • pytorch_model.bin
    46.8 MB
    xet
    Add model about 4 years ago