Instructions to use ongkn/attraction-classifier-swin with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use ongkn/attraction-classifier-swin with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="ongkn/attraction-classifier-swin") 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("ongkn/attraction-classifier-swin") model = AutoModelForImageClassification.from_pretrained("ongkn/attraction-classifier-swin", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
End of training
efa6b95 -
Training in progress, step 900
17c63bc -
Training in progress, step 800
09941d2 -
Training in progress, step 700
b2863af -
Training in progress, step 600
501e1e8 -
Training in progress, step 500
e655946 -
Training in progress, step 400
3abdfd5 -
Training in progress, step 300
803c72d -
Training in progress, step 200
9b8211f -
Training in progress, step 100
4858633 -
initial commit
1117023