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

  • Log In
  • Sign Up

fxmarty
/
resnet-tiny-beans

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

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

  • Libraries
  • Transformers

    How to use fxmarty/resnet-tiny-beans with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="fxmarty/resnet-tiny-beans")
    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("fxmarty/resnet-tiny-beans")
    model = AutoModelForImageClassification.from_pretrained("fxmarty/resnet-tiny-beans")
  • Notebooks
  • Google Colab
  • Kaggle
resnet-tiny-beans
2.34 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 9 commits
SFconvertbot's picture
SFconvertbot
Adding `safetensors` variant of this model
3f07997 about 3 years ago
  • .gitattributes
    1.34 kB
    initial commit almost 4 years ago
  • README.md
    116 Bytes
    added model almost 4 years ago
  • all_results.json
    349 Bytes
    fix image size almost 4 years ago
  • config.json
    662 Bytes
    fix image size almost 4 years ago
  • eval_results.json
    203 Bytes
    fix image size almost 4 years ago
  • model.onnx
    761 kB
    xet
    added onnx model over 3 years ago
  • model.safetensors
    772 kB
    Adding `safetensors` variant of this model about 3 years ago
  • preprocessor_config.json
    259 Bytes
    channels almost 4 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    787 kB
    xet
    fix image size almost 4 years ago
  • train.py
    8.02 kB
    fix image size almost 4 years ago
  • train_results.json
    166 Bytes
    fix image size almost 4 years ago
  • trainer_state.json
    592 Bytes
    fix image size almost 4 years ago
  • training_args.bin

    Detected Pickle imports (6)

    • "transformers.training_args.OptimizerNames",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.trainer_utils.SchedulerType",
    • "transformers.training_args.TrainingArguments",
    • "torch.device",
    • "transformers.trainer_utils.IntervalStrategy"

    How to fix it?

    3.25 kB
    xet
    fix image size almost 4 years ago