Image Classification
Transformers
PyTorch
TensorFlow
TensorBoard
swin
Generated from Trainer
Eval Results (legacy)
Instructions to use jagriti/swin-tiny-patch4-window7-224 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jagriti/swin-tiny-patch4-window7-224 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="jagriti/swin-tiny-patch4-window7-224") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("jagriti/swin-tiny-patch4-window7-224") model = AutoModelForImageClassification.from_pretrained("jagriti/swin-tiny-patch4-window7-224", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.13668cd
-
End of training
0e74c54 -
update model card README.md
570adb8 -
Model save
925f9bb -
Training in progress, epoch 2
c62e33f -
Training in progress, epoch 1
d43838d -
Training in progress, epoch 0
7029db9
-
Upload tf_model.h5
bf3394e -
Upload pytorch_model.bin
dcee15f -
Create preprocessor_config.json
3e0a4a8 -
Create config.json
00a48b0 -
initial commit
4285537