Doron Adler commited on
Commit ·
022f628
1
Parent(s): b36312e
Updated metadata
Browse files- .gitattributes +0 -1
- README.md +5 -7
- config.json +94 -3
- preprocessor_config.json +17 -3
.gitattributes
CHANGED
|
@@ -32,4 +32,3 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 32 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
| 35 |
-
*.json filter=lfs diff=lfs merge=lfs -text
|
|
|
|
| 32 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 33 |
*.bin.* filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.tar.gz filter=lfs diff=lfs merge=lfs -text
|
|
|
README.md
CHANGED
|
@@ -4,14 +4,12 @@ tags:
|
|
| 4 |
- vision
|
| 5 |
- image-classification
|
| 6 |
datasets:
|
| 7 |
-
- Norod78/
|
| 8 |
widget:
|
| 9 |
-
- src: https://
|
| 10 |
-
example_title:
|
| 11 |
-
- src: https://
|
| 12 |
-
example_title:
|
| 13 |
-
- src: https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg
|
| 14 |
-
example_title: Palace
|
| 15 |
co2_eq_emissions:
|
| 16 |
emissions: 0.01152985529096599
|
| 17 |
---
|
|
|
|
| 4 |
- vision
|
| 5 |
- image-classification
|
| 6 |
datasets:
|
| 7 |
+
- Norod78/MuppetFaces
|
| 8 |
widget:
|
| 9 |
+
- src: https://lumiere-a.akamaihd.net/v1/images/character_themuppets_piggy_994270a5.jpeg
|
| 10 |
+
example_title: Piggy
|
| 11 |
+
- src: https://lumiere-a.akamaihd.net/v1/images/character_themuppets_kermit_b77a431b.jpeg
|
| 12 |
+
example_title: Kermit
|
|
|
|
|
|
|
| 13 |
co2_eq_emissions:
|
| 14 |
emissions: 0.01152985529096599
|
| 15 |
---
|
config.json
CHANGED
|
@@ -1,3 +1,94 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_name_or_path": "Norod78/swin-muppet-faces",
|
| 3 |
+
"architectures": [
|
| 4 |
+
"SwinForImageClassification"
|
| 5 |
+
],
|
| 6 |
+
"attention_probs_dropout_prob": 0.0,
|
| 7 |
+
"depths": [
|
| 8 |
+
2,
|
| 9 |
+
2,
|
| 10 |
+
18,
|
| 11 |
+
2
|
| 12 |
+
],
|
| 13 |
+
"drop_path_rate": 0.1,
|
| 14 |
+
"embed_dim": 128,
|
| 15 |
+
"encoder_stride": 32,
|
| 16 |
+
"hidden_act": "gelu",
|
| 17 |
+
"hidden_dropout_prob": 0.0,
|
| 18 |
+
"hidden_size": 1024,
|
| 19 |
+
"id2label": {
|
| 20 |
+
"0": "Animal",
|
| 21 |
+
"1": "Beaker",
|
| 22 |
+
"10": "Fozzie",
|
| 23 |
+
"11": "Gonzo",
|
| 24 |
+
"12": "Grover",
|
| 25 |
+
"13": "Kermit",
|
| 26 |
+
"14": "Oscar",
|
| 27 |
+
"15": "Pepe",
|
| 28 |
+
"16": "Piggy",
|
| 29 |
+
"17": "Rowlf",
|
| 30 |
+
"18": "Scooter",
|
| 31 |
+
"19": "Statler",
|
| 32 |
+
"2": "Bert",
|
| 33 |
+
"20": "SwedishChef",
|
| 34 |
+
"21": "TheCount",
|
| 35 |
+
"22": "Waldorf",
|
| 36 |
+
"23": "Zoot",
|
| 37 |
+
"3": "BigBird",
|
| 38 |
+
"4": "Bunsen",
|
| 39 |
+
"5": "Camilla",
|
| 40 |
+
"6": "CookieMonster",
|
| 41 |
+
"7": "Elmo",
|
| 42 |
+
"8": "Ernie",
|
| 43 |
+
"9": "Floyd"
|
| 44 |
+
},
|
| 45 |
+
"image_size": 224,
|
| 46 |
+
"initializer_range": 0.02,
|
| 47 |
+
"label2id": {
|
| 48 |
+
"Animal": "0",
|
| 49 |
+
"Beaker": "1",
|
| 50 |
+
"Bert": "2",
|
| 51 |
+
"BigBird": "3",
|
| 52 |
+
"Bunsen": "4",
|
| 53 |
+
"Camilla": "5",
|
| 54 |
+
"CookieMonster": "6",
|
| 55 |
+
"Elmo": "7",
|
| 56 |
+
"Ernie": "8",
|
| 57 |
+
"Floyd": "9",
|
| 58 |
+
"Fozzie": "10",
|
| 59 |
+
"Gonzo": "11",
|
| 60 |
+
"Grover": "12",
|
| 61 |
+
"Kermit": "13",
|
| 62 |
+
"Oscar": "14",
|
| 63 |
+
"Pepe": "15",
|
| 64 |
+
"Piggy": "16",
|
| 65 |
+
"Rowlf": "17",
|
| 66 |
+
"Scooter": "18",
|
| 67 |
+
"Statler": "19",
|
| 68 |
+
"SwedishChef": "20",
|
| 69 |
+
"TheCount": "21",
|
| 70 |
+
"Waldorf": "22",
|
| 71 |
+
"Zoot": "23"
|
| 72 |
+
},
|
| 73 |
+
"layer_norm_eps": 1e-05,
|
| 74 |
+
"max_length": 128,
|
| 75 |
+
"mlp_ratio": 4.0,
|
| 76 |
+
"model_type": "swin",
|
| 77 |
+
"num_channels": 3,
|
| 78 |
+
"num_heads": [
|
| 79 |
+
4,
|
| 80 |
+
8,
|
| 81 |
+
16,
|
| 82 |
+
32
|
| 83 |
+
],
|
| 84 |
+
"num_layers": 4,
|
| 85 |
+
"padding": "max_length",
|
| 86 |
+
"patch_size": 4,
|
| 87 |
+
"path_norm": true,
|
| 88 |
+
"problem_type": "single_label_classification",
|
| 89 |
+
"qkv_bias": true,
|
| 90 |
+
"torch_dtype": "float32",
|
| 91 |
+
"transformers_version": "4.22.1",
|
| 92 |
+
"use_absolute_embeddings": false,
|
| 93 |
+
"window_size": 7
|
| 94 |
+
}
|
preprocessor_config.json
CHANGED
|
@@ -1,3 +1,17 @@
|
|
| 1 |
-
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"do_normalize": true,
|
| 3 |
+
"do_resize": true,
|
| 4 |
+
"feature_extractor_type": "ViTFeatureExtractor",
|
| 5 |
+
"image_mean": [
|
| 6 |
+
0.485,
|
| 7 |
+
0.456,
|
| 8 |
+
0.406
|
| 9 |
+
],
|
| 10 |
+
"image_std": [
|
| 11 |
+
0.229,
|
| 12 |
+
0.224,
|
| 13 |
+
0.225
|
| 14 |
+
],
|
| 15 |
+
"resample": 3,
|
| 16 |
+
"size": 224
|
| 17 |
+
}
|