Instructions to use LH-Tech-AI/GyroScope with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LH-Tech-AI/GyroScope with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="LH-Tech-AI/GyroScope") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# Load model directly from transformers import AutoImageProcessor, AutoModelForImageClassification processor = AutoImageProcessor.from_pretrained("LH-Tech-AI/GyroScope") model = AutoModelForImageClassification.from_pretrained("LH-Tech-AI/GyroScope") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -100,9 +100,11 @@ pip install transformers torch torchvision pillow requests
|
|
| 100 |
|
| 101 |
### Inference — Single Image from URL
|
| 102 |
```bash
|
| 103 |
-
python3
|
| 104 |
```
|
| 105 |
|
|
|
|
|
|
|
| 106 |
## 💡 Example
|
| 107 |
|
| 108 |
Input (rotated 180°):
|
|
|
|
| 100 |
|
| 101 |
### Inference — Single Image from URL
|
| 102 |
```bash
|
| 103 |
+
python3 use_with_UI.py
|
| 104 |
```
|
| 105 |
|
| 106 |
+
--> Download `use_with_UI.py` first 😄
|
| 107 |
+
|
| 108 |
## 💡 Example
|
| 109 |
|
| 110 |
Input (rotated 180°):
|