Image Classification
Transformers
PyTorch
TensorBoard
swin
Generated from Trainer
Eval Results (legacy)
Instructions to use dvs/swin-tiny-patch4-window7-224-uploads-classifier-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use dvs/swin-tiny-patch4-window7-224-uploads-classifier-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="dvs/swin-tiny-patch4-window7-224-uploads-classifier-v2") 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("dvs/swin-tiny-patch4-window7-224-uploads-classifier-v2") model = AutoModelForImageClassification.from_pretrained("dvs/swin-tiny-patch4-window7-224-uploads-classifier-v2", 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.b6f35a9
-
update model card README.md
48565cc -
End of training
f22cf1c -
update model card README.md
536a35b -
Model save
027c2e2 -
Training in progress, epoch 20
afa1235 -
Training in progress, epoch 19
d5c275e -
Training in progress, epoch 18
e38c400 -
Training in progress, epoch 17
2cd3840 -
Training in progress, epoch 16
0d54777 -
Training in progress, epoch 15
db56b92 -
Training in progress, epoch 14
5748bff -
Training in progress, epoch 13
39008f6 -
Training in progress, epoch 12
02d0f57 -
Training in progress, epoch 11
fcd7475 -
Training in progress, epoch 10
2a24487 -
Training in progress, epoch 9
dba6324 -
Training in progress, epoch 8
2458d34 -
Training in progress, epoch 7
79050d3 -
Training in progress, epoch 6
dbbfb38 -
Training in progress, epoch 5
c5a9e5c -
Training in progress, epoch 4
543b695 -
Training in progress, epoch 3
7135006 -
Training in progress, epoch 2
d651940 -
Training in progress, epoch 1
a8fad88 -
initial commit
a8fc3f1