Instructions to use HZhang729/nike_image_classification with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use HZhang729/nike_image_classification with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="HZhang729/nike_image_classification") 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("HZhang729/nike_image_classification") model = AutoModelForImageClassification.from_pretrained("HZhang729/nike_image_classification", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,9 @@
|
|
| 1 |
Model Name: Nike Shoes Recognizer
|
|
|
|
| 2 |
Original Model: Vision Transformer (ViT) model pre-trained on ImageNet-21k (14 million images, 21,843 classes) at resolution 224x224.
|
| 3 |
It was introduced in the paper An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale by Dosovitskiy et al. and first released in this repository.
|
| 4 |
Images are presented to the model as a sequence of fixed-size patches (resolution 16x16), which are linearly embedded.
|
| 5 |
-
|
| 6 |
Model Type: Image Classification
|
|
|
|
| 7 |
Model Architecture: Vision Transformer (ViT)
|
|
|
|
| 1 |
Model Name: Nike Shoes Recognizer
|
| 2 |
+
|
| 3 |
Original Model: Vision Transformer (ViT) model pre-trained on ImageNet-21k (14 million images, 21,843 classes) at resolution 224x224.
|
| 4 |
It was introduced in the paper An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale by Dosovitskiy et al. and first released in this repository.
|
| 5 |
Images are presented to the model as a sequence of fixed-size patches (resolution 16x16), which are linearly embedded.
|
| 6 |
+
|
| 7 |
Model Type: Image Classification
|
| 8 |
+
|
| 9 |
Model Architecture: Vision Transformer (ViT)
|