Instructions to use prithivMLmods/Painting-126-DomainNet with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use prithivMLmods/Painting-126-DomainNet with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-classification", model="prithivMLmods/Painting-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/Painting-126-DomainNet") model = AutoModelForImageClassification.from_pretrained("prithivMLmods/Painting-126-DomainNet", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -2,4 +2,140 @@
|
|
| 2 |
license: apache-2.0
|
| 3 |
datasets:
|
| 4 |
- Bruece/domainnet-126-by-class-painting
|
| 5 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
license: apache-2.0
|
| 3 |
datasets:
|
| 4 |
- Bruece/domainnet-126-by-class-painting
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
```py
|
| 8 |
+
Classification Report:
|
| 9 |
+
precision recall f1-score support
|
| 10 |
+
|
| 11 |
+
aircraft_carrier 0.8065 0.4717 0.5952 106
|
| 12 |
+
alarm_clock 1.0000 0.7612 0.8644 67
|
| 13 |
+
ant 0.8095 0.7234 0.7640 188
|
| 14 |
+
anvil 0.3205 0.2066 0.2513 121
|
| 15 |
+
asparagus 0.8242 0.8827 0.8525 324
|
| 16 |
+
axe 0.4028 0.4857 0.4404 175
|
| 17 |
+
banana 0.8986 0.8986 0.8986 286
|
| 18 |
+
basket 0.7251 0.7492 0.7370 331
|
| 19 |
+
bathtub 0.0000 0.0000 0.0000 35
|
| 20 |
+
bear 0.8704 0.8647 0.8675 303
|
| 21 |
+
bee 0.9478 0.9440 0.9459 250
|
| 22 |
+
bird 0.8031 0.8807 0.8401 176
|
| 23 |
+
blackberry 0.0000 0.0000 0.0000 11
|
| 24 |
+
blueberry 0.8258 0.8258 0.8258 132
|
| 25 |
+
bottlecap 0.6487 0.8173 0.7233 427
|
| 26 |
+
broccoli 0.8961 0.8625 0.8790 80
|
| 27 |
+
bus 0.6909 0.8444 0.7600 90
|
| 28 |
+
butterfly 0.9313 0.9613 0.9460 310
|
| 29 |
+
cactus 0.9583 0.9388 0.9485 98
|
| 30 |
+
cake 0.5290 0.5984 0.5615 122
|
| 31 |
+
calculator 0.0000 0.0000 0.0000 10
|
| 32 |
+
camel 0.8244 0.9351 0.8763 231
|
| 33 |
+
camera 0.9725 0.8480 0.9060 125
|
| 34 |
+
candle 0.7763 0.8551 0.8138 207
|
| 35 |
+
cannon 0.0000 0.0000 0.0000 43
|
| 36 |
+
canoe 0.8400 0.9161 0.8764 298
|
| 37 |
+
carrot 0.9744 0.9005 0.9360 211
|
| 38 |
+
castle 0.9027 0.9278 0.9151 180
|
| 39 |
+
cat 0.8824 0.9818 0.9294 275
|
| 40 |
+
ceiling_fan 1.0000 0.1333 0.2353 30
|
| 41 |
+
cell_phone 0.7117 0.7453 0.7281 106
|
| 42 |
+
cello 0.8647 0.9127 0.8880 126
|
| 43 |
+
chair 0.8750 0.1667 0.2800 42
|
| 44 |
+
chandelier 0.9773 0.9348 0.9556 46
|
| 45 |
+
coffee_cup 0.9015 0.8095 0.8530 147
|
| 46 |
+
compass 0.9483 0.8871 0.9167 62
|
| 47 |
+
computer 0.0000 0.0000 0.0000 14
|
| 48 |
+
cow 0.9590 0.9360 0.9474 125
|
| 49 |
+
crab 0.9829 0.9426 0.9623 122
|
| 50 |
+
crocodile 0.9468 0.9271 0.9368 96
|
| 51 |
+
cruise_ship 0.8977 0.8977 0.8977 176
|
| 52 |
+
dog 0.9149 0.9739 0.9435 574
|
| 53 |
+
dolphin 0.8928 0.9595 0.9249 321
|
| 54 |
+
dragon 0.9278 0.9730 0.9499 185
|
| 55 |
+
drums 0.8457 0.8405 0.8431 163
|
| 56 |
+
duck 0.9335 0.9642 0.9486 335
|
| 57 |
+
dumbbell 0.9539 0.9603 0.9571 151
|
| 58 |
+
elephant 0.9405 0.9794 0.9595 339
|
| 59 |
+
eyeglasses 0.5417 0.1970 0.2889 66
|
| 60 |
+
feather 0.9314 0.9416 0.9365 274
|
| 61 |
+
fence 0.0000 0.0000 0.0000 39
|
| 62 |
+
fish 0.8829 0.9671 0.9231 304
|
| 63 |
+
flamingo 0.9778 0.9888 0.9832 178
|
| 64 |
+
flower 0.7188 0.7706 0.7438 388
|
| 65 |
+
foot 0.5893 0.4853 0.5323 68
|
| 66 |
+
fork 0.9500 0.2836 0.4368 67
|
| 67 |
+
frog 0.9172 0.9925 0.9534 134
|
| 68 |
+
giraffe 0.9762 0.9762 0.9762 84
|
| 69 |
+
goatee 0.4565 0.4828 0.4693 87
|
| 70 |
+
grapes 0.8761 0.8200 0.8471 250
|
| 71 |
+
guitar 0.8827 0.8827 0.8827 162
|
| 72 |
+
hammer 0.0000 0.0000 0.0000 36
|
| 73 |
+
helicopter 0.9733 0.8835 0.9262 206
|
| 74 |
+
helmet 0.0000 0.0000 0.0000 22
|
| 75 |
+
horse 0.9514 0.9856 0.9682 417
|
| 76 |
+
kangaroo 0.9387 0.9053 0.9217 169
|
| 77 |
+
lantern 0.6263 0.7126 0.6667 174
|
| 78 |
+
laptop 0.8800 0.8871 0.8835 124
|
| 79 |
+
leaf 0.7754 0.8930 0.8301 402
|
| 80 |
+
lion 0.9347 0.8883 0.9109 403
|
| 81 |
+
lipstick 0.9281 0.9045 0.9161 157
|
| 82 |
+
lobster 0.9646 0.9455 0.9550 202
|
| 83 |
+
microphone 0.9231 0.8136 0.8649 118
|
| 84 |
+
monkey 0.7892 0.8656 0.8256 320
|
| 85 |
+
mosquito 0.8696 0.3846 0.5333 52
|
| 86 |
+
mouse 0.8610 0.9174 0.8883 351
|
| 87 |
+
mug 0.8669 0.9365 0.9003 299
|
| 88 |
+
mushroom 0.9070 0.9653 0.9353 202
|
| 89 |
+
onion 0.8700 0.9231 0.8958 377
|
| 90 |
+
panda 0.9631 0.9952 0.9789 210
|
| 91 |
+
peanut 0.5000 0.1212 0.1951 66
|
| 92 |
+
pear 0.9278 0.9356 0.9317 357
|
| 93 |
+
peas 0.8281 0.7465 0.7852 71
|
| 94 |
+
pencil 0.4902 0.5245 0.5068 143
|
| 95 |
+
penguin 0.9496 0.9576 0.9536 354
|
| 96 |
+
pig 0.9392 0.9500 0.9446 260
|
| 97 |
+
pillow 0.7273 0.0727 0.1322 110
|
| 98 |
+
pineapple 0.9849 0.9812 0.9831 266
|
| 99 |
+
potato 1.0000 0.0652 0.1224 46
|
| 100 |
+
power_outlet 0.9600 0.8889 0.9231 81
|
| 101 |
+
purse 0.5000 0.0513 0.0930 39
|
| 102 |
+
rabbit 0.8961 0.9673 0.9303 214
|
| 103 |
+
raccoon 0.9490 0.9394 0.9442 198
|
| 104 |
+
rhinoceros 0.9657 0.9657 0.9657 175
|
| 105 |
+
rifle 0.8200 0.8542 0.8367 192
|
| 106 |
+
saxophone 0.8100 0.8556 0.8322 284
|
| 107 |
+
screwdriver 0.7083 0.6296 0.6667 54
|
| 108 |
+
sea_turtle 0.9757 0.9969 0.9862 322
|
| 109 |
+
see_saw 0.3527 0.6077 0.4463 130
|
| 110 |
+
sheep 0.9328 0.9398 0.9363 266
|
| 111 |
+
shoe 0.9522 0.9567 0.9544 208
|
| 112 |
+
skateboard 0.4464 0.2083 0.2841 120
|
| 113 |
+
snake 0.8627 0.8550 0.8588 338
|
| 114 |
+
speedboat 0.8710 0.6835 0.7660 79
|
| 115 |
+
spider 0.8129 0.6975 0.7508 162
|
| 116 |
+
squirrel 0.9325 0.9063 0.9192 427
|
| 117 |
+
strawberry 0.9316 0.9470 0.9392 302
|
| 118 |
+
streetlight 0.7493 0.7948 0.7714 346
|
| 119 |
+
string_bean 0.8636 0.4130 0.5588 46
|
| 120 |
+
submarine 0.5845 0.7423 0.6541 326
|
| 121 |
+
swan 0.9222 0.8910 0.9063 266
|
| 122 |
+
table 0.0000 0.0000 0.0000 81
|
| 123 |
+
teapot 0.8619 0.9318 0.8955 308
|
| 124 |
+
teddy-bear 0.8517 0.9136 0.8816 220
|
| 125 |
+
television 0.0000 0.0000 0.0000 40
|
| 126 |
+
the_Eiffel_Tower 0.9366 0.9882 0.9617 254
|
| 127 |
+
the_Great_Wall_of_China 0.8244 0.8710 0.8471 124
|
| 128 |
+
tiger 0.9504 0.9702 0.9602 336
|
| 129 |
+
toe 0.0000 0.0000 0.0000 1
|
| 130 |
+
train 0.9367 0.9628 0.9496 323
|
| 131 |
+
truck 0.8864 0.7959 0.8387 98
|
| 132 |
+
umbrella 0.6309 0.8174 0.7121 230
|
| 133 |
+
vase 0.7382 0.8309 0.7818 207
|
| 134 |
+
watermelon 0.9479 0.9450 0.9464 327
|
| 135 |
+
whale 0.8877 0.8657 0.8766 283
|
| 136 |
+
zebra 0.9832 0.9832 0.9832 238
|
| 137 |
+
|
| 138 |
+
accuracy 0.8533 24032
|
| 139 |
+
macro avg 0.7686 0.7273 0.7299 24032
|
| 140 |
+
weighted avg 0.8445 0.8533 0.8424 24032
|
| 141 |
+
```
|