Upload 3 files
Browse files- config.json +30 -30
- model.safetensors +2 -2
- preprocessor_config.json +9 -4
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "nvidia/mit-
|
| 3 |
"architectures": [
|
| 4 |
"SegformerForSemanticSegmentation"
|
| 5 |
],
|
|
@@ -9,7 +9,7 @@
|
|
| 9 |
"depths": [
|
| 10 |
3,
|
| 11 |
4,
|
| 12 |
-
|
| 13 |
3
|
| 14 |
],
|
| 15 |
"downsampling_rates": [
|
|
@@ -30,14 +30,6 @@
|
|
| 30 |
"id2label": {
|
| 31 |
"0": "Background",
|
| 32 |
"1": "Hat",
|
| 33 |
-
"2": "Hair",
|
| 34 |
-
"3": "Sunglasses",
|
| 35 |
-
"4": "Upper-clothes",
|
| 36 |
-
"5": "Skirt",
|
| 37 |
-
"6": "Pants",
|
| 38 |
-
"7": "Dress",
|
| 39 |
-
"8": "Belt",
|
| 40 |
-
"9": "Left-shoe",
|
| 41 |
"10": "Right-shoe",
|
| 42 |
"11": "Face",
|
| 43 |
"12": "Left-leg",
|
|
@@ -45,29 +37,37 @@
|
|
| 45 |
"14": "Left-arm",
|
| 46 |
"15": "Right-arm",
|
| 47 |
"16": "Bag",
|
| 48 |
-
"17": "Scarf"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 49 |
},
|
| 50 |
"image_size": 224,
|
| 51 |
"initializer_range": 0.02,
|
| 52 |
"label2id": {
|
| 53 |
-
"Background": 0,
|
| 54 |
-
"Bag": 16,
|
| 55 |
-
"Belt": 8,
|
| 56 |
-
"Dress": 7,
|
| 57 |
-
"Face": 11,
|
| 58 |
-
"Hair": 2,
|
| 59 |
-
"Hat": 1,
|
| 60 |
-
"Left-arm": 14,
|
| 61 |
-
"Left-leg": 12,
|
| 62 |
-
"Left-shoe": 9,
|
| 63 |
-
"Pants": 6,
|
| 64 |
-
"Right-arm": 15,
|
| 65 |
-
"Right-leg": 13,
|
| 66 |
-
"Right-shoe": 10,
|
| 67 |
-
"Scarf": 17,
|
| 68 |
-
"Skirt": 5,
|
| 69 |
-
"Sunglasses": 3,
|
| 70 |
-
"Upper-clothes": 4
|
| 71 |
},
|
| 72 |
"layer_norm_eps": 1e-06,
|
| 73 |
"mlp_ratios": [
|
|
@@ -106,5 +106,5 @@
|
|
| 106 |
2
|
| 107 |
],
|
| 108 |
"torch_dtype": "float32",
|
| 109 |
-
"transformers_version": "4.
|
| 110 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "nvidia/mit-b3",
|
| 3 |
"architectures": [
|
| 4 |
"SegformerForSemanticSegmentation"
|
| 5 |
],
|
|
|
|
| 9 |
"depths": [
|
| 10 |
3,
|
| 11 |
4,
|
| 12 |
+
18,
|
| 13 |
3
|
| 14 |
],
|
| 15 |
"downsampling_rates": [
|
|
|
|
| 30 |
"id2label": {
|
| 31 |
"0": "Background",
|
| 32 |
"1": "Hat",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
"10": "Right-shoe",
|
| 34 |
"11": "Face",
|
| 35 |
"12": "Left-leg",
|
|
|
|
| 37 |
"14": "Left-arm",
|
| 38 |
"15": "Right-arm",
|
| 39 |
"16": "Bag",
|
| 40 |
+
"17": "Scarf",
|
| 41 |
+
"2": "Hair",
|
| 42 |
+
"3": "Sunglasses",
|
| 43 |
+
"4": "Upper-clothes",
|
| 44 |
+
"5": "Skirt",
|
| 45 |
+
"6": "Pants",
|
| 46 |
+
"7": "Dress",
|
| 47 |
+
"8": "Belt",
|
| 48 |
+
"9": "Left-shoe"
|
| 49 |
},
|
| 50 |
"image_size": 224,
|
| 51 |
"initializer_range": 0.02,
|
| 52 |
"label2id": {
|
| 53 |
+
"Background": "0",
|
| 54 |
+
"Bag": "16",
|
| 55 |
+
"Belt": "8",
|
| 56 |
+
"Dress": "7",
|
| 57 |
+
"Face": "11",
|
| 58 |
+
"Hair": "2",
|
| 59 |
+
"Hat": "1",
|
| 60 |
+
"Left-arm": "14",
|
| 61 |
+
"Left-leg": "12",
|
| 62 |
+
"Left-shoe": "9",
|
| 63 |
+
"Pants": "6",
|
| 64 |
+
"Right-arm": "15",
|
| 65 |
+
"Right-leg": "13",
|
| 66 |
+
"Right-shoe": "10",
|
| 67 |
+
"Scarf": "17",
|
| 68 |
+
"Skirt": "5",
|
| 69 |
+
"Sunglasses": "3",
|
| 70 |
+
"Upper-clothes": "4"
|
| 71 |
},
|
| 72 |
"layer_norm_eps": 1e-06,
|
| 73 |
"mlp_ratios": [
|
|
|
|
| 106 |
2
|
| 107 |
],
|
| 108 |
"torch_dtype": "float32",
|
| 109 |
+
"transformers_version": "4.38.1"
|
| 110 |
}
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f70ae566c5773fb335796ebaa8acc924ac25eb97222c2b2967d44d2fc11568e6
|
| 3 |
+
size 189029000
|
preprocessor_config.json
CHANGED
|
@@ -1,18 +1,23 @@
|
|
| 1 |
{
|
| 2 |
"do_normalize": true,
|
|
|
|
|
|
|
| 3 |
"do_resize": true,
|
| 4 |
-
"feature_extractor_type": "SegformerFeatureExtractor",
|
| 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 |
-
"reduce_labels": false,
|
| 16 |
"resample": 2,
|
| 17 |
-
"
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
{
|
| 2 |
"do_normalize": true,
|
| 3 |
+
"do_reduce_labels": false,
|
| 4 |
+
"do_rescale": true,
|
| 5 |
"do_resize": true,
|
|
|
|
| 6 |
"image_mean": [
|
| 7 |
0.485,
|
| 8 |
0.456,
|
| 9 |
0.406
|
| 10 |
],
|
| 11 |
+
"image_processor_type": "SegformerImageProcessor",
|
| 12 |
"image_std": [
|
| 13 |
0.229,
|
| 14 |
0.224,
|
| 15 |
0.225
|
| 16 |
],
|
|
|
|
| 17 |
"resample": 2,
|
| 18 |
+
"rescale_factor": 0.00392156862745098,
|
| 19 |
+
"size": {
|
| 20 |
+
"height": 512,
|
| 21 |
+
"width": 512
|
| 22 |
+
}
|
| 23 |
+
}
|