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

  • Log In
  • Sign Up

gianlab
/
swin-tiny-patch4-window7-224-finetuned-crop-classification

Image Classification
Transformers
TensorBoard
Safetensors
swin
Generated from Trainer
Eval Results (legacy)
Model card Files Files and versions
xet
Metrics Training metrics Community

Instructions to use gianlab/swin-tiny-patch4-window7-224-finetuned-crop-classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use gianlab/swin-tiny-patch4-window7-224-finetuned-crop-classification with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("image-classification", model="gianlab/swin-tiny-patch4-window7-224-finetuned-crop-classification")
    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("gianlab/swin-tiny-patch4-window7-224-finetuned-crop-classification")
    model = AutoModelForImageClassification.from_pretrained("gianlab/swin-tiny-patch4-window7-224-finetuned-crop-classification")
  • Notebooks
  • Google Colab
  • Kaggle
swin-tiny-patch4-window7-224-finetuned-crop-classification
111 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 7 commits
gianlab's picture
gianlab
Update README.md
38cb3a1 verified over 2 years ago
  • runs
    End of training over 2 years ago
  • .gitattributes
    1.52 kB
    initial commit over 2 years ago
  • README.md
    2.68 kB
    Update README.md over 2 years ago
  • all_results.json
    203 Bytes
    End of training over 2 years ago
  • config.json
    1.14 kB
    Training in progress, epoch 0 over 2 years ago
  • crop.png
    548 kB
    Upload crop.png over 2 years ago
  • eval_results.json
    203 Bytes
    End of training over 2 years ago
  • model.safetensors
    110 MB
    xet
    Training in progress, epoch 1 over 2 years ago
  • preprocessor_config.json
    337 Bytes
    Training in progress, epoch 0 over 2 years ago
  • training_args.bin

    Detected Pickle imports (8)

    • "transformers.trainer_utils.IntervalStrategy",
    • "accelerate.state.PartialState",
    • "transformers.trainer_utils.HubStrategy",
    • "transformers.trainer_utils.SchedulerType",
    • "torch.device",
    • "accelerate.utils.dataclasses.DistributedType",
    • "transformers.training_args.TrainingArguments",
    • "transformers.training_args.OptimizerNames"

    How to fix it?

    4.66 kB
    xet
    Training in progress, epoch 0 over 2 years ago