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

  • Log In
  • Sign Up

sngsfydy
/
MyResNet18

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

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

  • Libraries
  • Transformers

    How to use sngsfydy/MyResNet18 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="sngsfydy/MyResNet18")
    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("sngsfydy/MyResNet18")
    model = AutoModelForImageClassification.from_pretrained("sngsfydy/MyResNet18")
  • Notebooks
  • Google Colab
  • Kaggle
MyResNet18
44.8 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
sngsfydy's picture
sngsfydy
Upload feature extractor
3bf766f almost 3 years ago
  • .gitattributes
    1.52 kB
    initial commit almost 3 years ago
  • config.json
    811 Bytes
    Upload ResNetForImageClassification almost 3 years ago
  • preprocessor_config.json
    410 Bytes
    Upload feature extractor almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

    • "collections.OrderedDict",
    • "torch.FloatStorage",
    • "torch.LongStorage",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    44.8 MB
    xet
    Upload ResNetForImageClassification almost 3 years ago