Instructions to use Enayat/ViT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Enayat/ViT with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="Enayat/ViT") 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("Enayat/ViT") model = AutoModelForImageClassification.from_pretrained("Enayat/ViT", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -28,9 +28,8 @@ The Dataset link : https://www.kaggle.com/datasets/kwentar/blur-dataset
|
|
| 28 |
|
| 29 |
|
| 30 |
#### defocused_blurred
|
| 31 |
-
<img src="images/defocused_blurred.JPG" alt="defocused_blurred" width="500"/>
|
| 32 |
-
|
| 33 |
|
|
|
|
| 34 |
#### motion_blurred
|
| 35 |
|
| 36 |

|
|
|
|
| 28 |
|
| 29 |
|
| 30 |
#### defocused_blurred
|
|
|
|
|
|
|
| 31 |
|
| 32 |
+

|
| 33 |
#### motion_blurred
|
| 34 |
|
| 35 |

|