Instructions to use prithivMLmods/Sketch-126-DomainNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Sketch-126-DomainNet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="prithivMLmods/Sketch-126-DomainNet") pipe("https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/parrots.png")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForImageClassification processor = AutoProcessor.from_pretrained("prithivMLmods/Sketch-126-DomainNet") model = AutoModelForImageClassification.from_pretrained("prithivMLmods/Sketch-126-DomainNet", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -4,6 +4,9 @@ datasets:
|
|
| 4 |
- Bruece/domainnet-126-by-class-sketch
|
| 5 |
---
|
| 6 |
|
|
|
|
|
|
|
|
|
|
| 7 |
```py
|
| 8 |
Classification Report:
|
| 9 |
precision recall f1-score support
|
|
@@ -138,4 +141,5 @@ the_Great_Wall_of_China 0.6389 0.8440 0.7273 109
|
|
| 138 |
accuracy 0.8440 19317
|
| 139 |
macro avg 0.7818 0.7419 0.7475 19317
|
| 140 |
weighted avg 0.8404 0.8440 0.8352 19317
|
| 141 |
-
```
|
|
|
|
|
|
| 4 |
- Bruece/domainnet-126-by-class-sketch
|
| 5 |
---
|
| 6 |
|
| 7 |
+

|
| 8 |
+
|
| 9 |
+
|
| 10 |
```py
|
| 11 |
Classification Report:
|
| 12 |
precision recall f1-score support
|
|
|
|
| 141 |
accuracy 0.8440 19317
|
| 142 |
macro avg 0.7818 0.7419 0.7475 19317
|
| 143 |
weighted avg 0.8404 0.8440 0.8352 19317
|
| 144 |
+
```
|
| 145 |
+
|