Upload folder using huggingface_hub
Browse files- MODELS/cifnet-18-apple/config.json +56 -0
- MODELS/cifnet-18-apple/preprocessor_config.json +22 -0
- MODELS/cifnet-18-banana/config.json +56 -0
- MODELS/cifnet-18-banana/preprocessor_config.json +22 -0
- MODELS/cifnet-18-cucumber/config.json +56 -0
- MODELS/cifnet-18-cucumber/preprocessor_config.json +22 -0
- MODELS/cifnet-18-durian/config.json +56 -0
- MODELS/cifnet-18-durian/preprocessor_config.json +22 -0
- MODELS/cifnet-18-eggfruit/config.json +56 -0
- MODELS/cifnet-18-eggfruit/preprocessor_config.json +22 -0
- MODELS/cifnet-18-fig/config.json +56 -0
- MODELS/cifnet-18-fig/preprocessor_config.json +22 -0
- MODELS/cifnet-18-grape/config.json +56 -0
- MODELS/cifnet-18-grape/preprocessor_config.json +22 -0
- MODELS/cifnet-18-tiny/config.json +3 -3
- MODELS/cifnet-18-tiny_bottleneck/config.json +4 -4
MODELS/cifnet-18-apple/config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-18",
|
3 |
+
"architectures": [
|
4 |
+
"CifNetForImageClassification"
|
5 |
+
],
|
6 |
+
"embedding_kwargs": {
|
7 |
+
"__comment": "First hidden layer size",
|
8 |
+
"embedding_size": 32,
|
9 |
+
"embedding_kernel_size_1": 7,
|
10 |
+
"embedding_kernel_size_2": 2,
|
11 |
+
"embedding_stride_1": 2,
|
12 |
+
"embedding_stride_2": 2
|
13 |
+
},
|
14 |
+
"depths": [
|
15 |
+
3,
|
16 |
+
3,
|
17 |
+
3,
|
18 |
+
3
|
19 |
+
],
|
20 |
+
"activation": "silu",
|
21 |
+
"hidden_sizes": [
|
22 |
+
64,
|
23 |
+
64,
|
24 |
+
128,
|
25 |
+
128
|
26 |
+
],
|
27 |
+
"id2label": {
|
28 |
+
"0": "airplane",
|
29 |
+
"1": "automobile",
|
30 |
+
"2": "bird",
|
31 |
+
"3": "cat",
|
32 |
+
"4": "deer",
|
33 |
+
"5": "dog",
|
34 |
+
"6": "frog",
|
35 |
+
"7": "horse",
|
36 |
+
"8": "ship",
|
37 |
+
"9": "truck"
|
38 |
+
},
|
39 |
+
"label2id": {
|
40 |
+
"airplane": "0",
|
41 |
+
"automobile": "1",
|
42 |
+
"bird": "2",
|
43 |
+
"cat": "3",
|
44 |
+
"deer": "4",
|
45 |
+
"dog": "5",
|
46 |
+
"frog": "6",
|
47 |
+
"horse": "7",
|
48 |
+
"ship": "8",
|
49 |
+
"truck": "9"
|
50 |
+
},
|
51 |
+
"layer_type": "basic",
|
52 |
+
"model_type": "resnet",
|
53 |
+
"num_channels": 3,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.38.2"
|
56 |
+
}
|
MODELS/cifnet-18-apple/preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
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": "ConvNextImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"shortest_edge": 224
|
21 |
+
}
|
22 |
+
}
|
MODELS/cifnet-18-banana/config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-18",
|
3 |
+
"architectures": [
|
4 |
+
"CifNetForImageClassification"
|
5 |
+
],
|
6 |
+
"embedding_kwargs": {
|
7 |
+
"__comment": "First hidden layer size",
|
8 |
+
"embedding_size": 32,
|
9 |
+
"embedding_kernel_size_1": 7,
|
10 |
+
"embedding_kernel_size_2": 2,
|
11 |
+
"embedding_stride_1": 2,
|
12 |
+
"embedding_stride_2": 2
|
13 |
+
},
|
14 |
+
"depths": [
|
15 |
+
4,
|
16 |
+
4,
|
17 |
+
4,
|
18 |
+
4
|
19 |
+
],
|
20 |
+
"activation": "silu",
|
21 |
+
"hidden_sizes": [
|
22 |
+
128,
|
23 |
+
128,
|
24 |
+
64,
|
25 |
+
64
|
26 |
+
],
|
27 |
+
"id2label": {
|
28 |
+
"0": "airplane",
|
29 |
+
"1": "automobile",
|
30 |
+
"2": "bird",
|
31 |
+
"3": "cat",
|
32 |
+
"4": "deer",
|
33 |
+
"5": "dog",
|
34 |
+
"6": "frog",
|
35 |
+
"7": "horse",
|
36 |
+
"8": "ship",
|
37 |
+
"9": "truck"
|
38 |
+
},
|
39 |
+
"label2id": {
|
40 |
+
"airplane": "0",
|
41 |
+
"automobile": "1",
|
42 |
+
"bird": "2",
|
43 |
+
"cat": "3",
|
44 |
+
"deer": "4",
|
45 |
+
"dog": "5",
|
46 |
+
"frog": "6",
|
47 |
+
"horse": "7",
|
48 |
+
"ship": "8",
|
49 |
+
"truck": "9"
|
50 |
+
},
|
51 |
+
"layer_type": "basic",
|
52 |
+
"model_type": "resnet",
|
53 |
+
"num_channels": 3,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.38.2"
|
56 |
+
}
|
MODELS/cifnet-18-banana/preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
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": "ConvNextImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"shortest_edge": 224
|
21 |
+
}
|
22 |
+
}
|
MODELS/cifnet-18-cucumber/config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-18",
|
3 |
+
"architectures": [
|
4 |
+
"CifNetForImageClassification"
|
5 |
+
],
|
6 |
+
"embedding_kwargs": {
|
7 |
+
"__comment": "First hidden layer size",
|
8 |
+
"embedding_size": 32,
|
9 |
+
"embedding_kernel_size_1": 7,
|
10 |
+
"embedding_kernel_size_2": 2,
|
11 |
+
"embedding_stride_1": 2,
|
12 |
+
"embedding_stride_2": 2
|
13 |
+
},
|
14 |
+
"depths": [
|
15 |
+
2,
|
16 |
+
2,
|
17 |
+
4,
|
18 |
+
3
|
19 |
+
],
|
20 |
+
"activation": "silu",
|
21 |
+
"hidden_sizes": [
|
22 |
+
64,
|
23 |
+
64,
|
24 |
+
128,
|
25 |
+
256
|
26 |
+
],
|
27 |
+
"id2label": {
|
28 |
+
"0": "airplane",
|
29 |
+
"1": "automobile",
|
30 |
+
"2": "bird",
|
31 |
+
"3": "cat",
|
32 |
+
"4": "deer",
|
33 |
+
"5": "dog",
|
34 |
+
"6": "frog",
|
35 |
+
"7": "horse",
|
36 |
+
"8": "ship",
|
37 |
+
"9": "truck"
|
38 |
+
},
|
39 |
+
"label2id": {
|
40 |
+
"airplane": "0",
|
41 |
+
"automobile": "1",
|
42 |
+
"bird": "2",
|
43 |
+
"cat": "3",
|
44 |
+
"deer": "4",
|
45 |
+
"dog": "5",
|
46 |
+
"frog": "6",
|
47 |
+
"horse": "7",
|
48 |
+
"ship": "8",
|
49 |
+
"truck": "9"
|
50 |
+
},
|
51 |
+
"layer_type": "basic",
|
52 |
+
"model_type": "resnet",
|
53 |
+
"num_channels": 3,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.38.2"
|
56 |
+
}
|
MODELS/cifnet-18-cucumber/preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
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": "ConvNextImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"shortest_edge": 224
|
21 |
+
}
|
22 |
+
}
|
MODELS/cifnet-18-durian/config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-18",
|
3 |
+
"architectures": [
|
4 |
+
"CifNetForImageClassification"
|
5 |
+
],
|
6 |
+
"embedding_kwargs": {
|
7 |
+
"__comment": "First hidden layer size",
|
8 |
+
"embedding_size": 64,
|
9 |
+
"embedding_kernel_size_1": 7,
|
10 |
+
"embedding_kernel_size_2": 2,
|
11 |
+
"embedding_stride_1": 2,
|
12 |
+
"embedding_stride_2": 2
|
13 |
+
},
|
14 |
+
"depths": [
|
15 |
+
3,
|
16 |
+
3,
|
17 |
+
4,
|
18 |
+
4
|
19 |
+
],
|
20 |
+
"activation": "silu",
|
21 |
+
"hidden_sizes": [
|
22 |
+
64,
|
23 |
+
64,
|
24 |
+
128,
|
25 |
+
224
|
26 |
+
],
|
27 |
+
"id2label": {
|
28 |
+
"0": "airplane",
|
29 |
+
"1": "automobile",
|
30 |
+
"2": "bird",
|
31 |
+
"3": "cat",
|
32 |
+
"4": "deer",
|
33 |
+
"5": "dog",
|
34 |
+
"6": "frog",
|
35 |
+
"7": "horse",
|
36 |
+
"8": "ship",
|
37 |
+
"9": "truck"
|
38 |
+
},
|
39 |
+
"label2id": {
|
40 |
+
"airplane": "0",
|
41 |
+
"automobile": "1",
|
42 |
+
"bird": "2",
|
43 |
+
"cat": "3",
|
44 |
+
"deer": "4",
|
45 |
+
"dog": "5",
|
46 |
+
"frog": "6",
|
47 |
+
"horse": "7",
|
48 |
+
"ship": "8",
|
49 |
+
"truck": "9"
|
50 |
+
},
|
51 |
+
"layer_type": "basic",
|
52 |
+
"model_type": "resnet",
|
53 |
+
"num_channels": 3,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.38.2"
|
56 |
+
}
|
MODELS/cifnet-18-durian/preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
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": "ConvNextImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"shortest_edge": 224
|
21 |
+
}
|
22 |
+
}
|
MODELS/cifnet-18-eggfruit/config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-18",
|
3 |
+
"architectures": [
|
4 |
+
"CifNetForImageClassification"
|
5 |
+
],
|
6 |
+
"embedding_kwargs": {
|
7 |
+
"__comment": "First hidden layer size",
|
8 |
+
"embedding_size": 32,
|
9 |
+
"embedding_kernel_size_1": 7,
|
10 |
+
"embedding_kernel_size_2": 2,
|
11 |
+
"embedding_stride_1": 2,
|
12 |
+
"embedding_stride_2": 2
|
13 |
+
},
|
14 |
+
"depths": [
|
15 |
+
4,
|
16 |
+
4,
|
17 |
+
4,
|
18 |
+
4
|
19 |
+
],
|
20 |
+
"activation": "silu",
|
21 |
+
"hidden_sizes": [
|
22 |
+
64,
|
23 |
+
64,
|
24 |
+
128,
|
25 |
+
224
|
26 |
+
],
|
27 |
+
"id2label": {
|
28 |
+
"0": "airplane",
|
29 |
+
"1": "automobile",
|
30 |
+
"2": "bird",
|
31 |
+
"3": "cat",
|
32 |
+
"4": "deer",
|
33 |
+
"5": "dog",
|
34 |
+
"6": "frog",
|
35 |
+
"7": "horse",
|
36 |
+
"8": "ship",
|
37 |
+
"9": "truck"
|
38 |
+
},
|
39 |
+
"label2id": {
|
40 |
+
"airplane": "0",
|
41 |
+
"automobile": "1",
|
42 |
+
"bird": "2",
|
43 |
+
"cat": "3",
|
44 |
+
"deer": "4",
|
45 |
+
"dog": "5",
|
46 |
+
"frog": "6",
|
47 |
+
"horse": "7",
|
48 |
+
"ship": "8",
|
49 |
+
"truck": "9"
|
50 |
+
},
|
51 |
+
"layer_type": "basic",
|
52 |
+
"model_type": "resnet",
|
53 |
+
"num_channels": 3,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.38.2"
|
56 |
+
}
|
MODELS/cifnet-18-eggfruit/preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
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": "ConvNextImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"shortest_edge": 224
|
21 |
+
}
|
22 |
+
}
|
MODELS/cifnet-18-fig/config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-18",
|
3 |
+
"architectures": [
|
4 |
+
"CifNetForImageClassification"
|
5 |
+
],
|
6 |
+
"embedding_kwargs": {
|
7 |
+
"__comment": "First hidden layer size",
|
8 |
+
"embedding_size": 32,
|
9 |
+
"embedding_kernel_size_1": 7,
|
10 |
+
"embedding_kernel_size_2": 2,
|
11 |
+
"embedding_stride_1": 2,
|
12 |
+
"embedding_stride_2": 2
|
13 |
+
},
|
14 |
+
"depths": [
|
15 |
+
2,
|
16 |
+
2,
|
17 |
+
4,
|
18 |
+
3
|
19 |
+
],
|
20 |
+
"activation": "silu",
|
21 |
+
"hidden_sizes": [
|
22 |
+
64,
|
23 |
+
64,
|
24 |
+
128,
|
25 |
+
256
|
26 |
+
],
|
27 |
+
"id2label": {
|
28 |
+
"0": "airplane",
|
29 |
+
"1": "automobile",
|
30 |
+
"2": "bird",
|
31 |
+
"3": "cat",
|
32 |
+
"4": "deer",
|
33 |
+
"5": "dog",
|
34 |
+
"6": "frog",
|
35 |
+
"7": "horse",
|
36 |
+
"8": "ship",
|
37 |
+
"9": "truck"
|
38 |
+
},
|
39 |
+
"label2id": {
|
40 |
+
"airplane": "0",
|
41 |
+
"automobile": "1",
|
42 |
+
"bird": "2",
|
43 |
+
"cat": "3",
|
44 |
+
"deer": "4",
|
45 |
+
"dog": "5",
|
46 |
+
"frog": "6",
|
47 |
+
"horse": "7",
|
48 |
+
"ship": "8",
|
49 |
+
"truck": "9"
|
50 |
+
},
|
51 |
+
"layer_type": "basic",
|
52 |
+
"model_type": "resnet",
|
53 |
+
"num_channels": 3,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.38.2"
|
56 |
+
}
|
MODELS/cifnet-18-fig/preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
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": "ConvNextImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"shortest_edge": 224
|
21 |
+
}
|
22 |
+
}
|
MODELS/cifnet-18-grape/config.json
ADDED
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-18",
|
3 |
+
"architectures": [
|
4 |
+
"CifNetForImageClassification"
|
5 |
+
],
|
6 |
+
"embedding_kwargs": {
|
7 |
+
"__comment": "First hidden layer size",
|
8 |
+
"embedding_size": 32,
|
9 |
+
"embedding_kernel_size_1": 7,
|
10 |
+
"embedding_kernel_size_2": 2,
|
11 |
+
"embedding_stride_1": 2,
|
12 |
+
"embedding_stride_2": 2
|
13 |
+
},
|
14 |
+
"depths": [
|
15 |
+
2,
|
16 |
+
2,
|
17 |
+
4,
|
18 |
+
3
|
19 |
+
],
|
20 |
+
"activation": "silu",
|
21 |
+
"hidden_sizes": [
|
22 |
+
64,
|
23 |
+
64,
|
24 |
+
128,
|
25 |
+
256
|
26 |
+
],
|
27 |
+
"id2label": {
|
28 |
+
"0": "airplane",
|
29 |
+
"1": "automobile",
|
30 |
+
"2": "bird",
|
31 |
+
"3": "cat",
|
32 |
+
"4": "deer",
|
33 |
+
"5": "dog",
|
34 |
+
"6": "frog",
|
35 |
+
"7": "horse",
|
36 |
+
"8": "ship",
|
37 |
+
"9": "truck"
|
38 |
+
},
|
39 |
+
"label2id": {
|
40 |
+
"airplane": "0",
|
41 |
+
"automobile": "1",
|
42 |
+
"bird": "2",
|
43 |
+
"cat": "3",
|
44 |
+
"deer": "4",
|
45 |
+
"dog": "5",
|
46 |
+
"frog": "6",
|
47 |
+
"horse": "7",
|
48 |
+
"ship": "8",
|
49 |
+
"truck": "9"
|
50 |
+
},
|
51 |
+
"layer_type": "basic",
|
52 |
+
"model_type": "resnet",
|
53 |
+
"num_channels": 3,
|
54 |
+
"torch_dtype": "float32",
|
55 |
+
"transformers_version": "4.38.2"
|
56 |
+
}
|
MODELS/cifnet-18-grape/preprocessor_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
+
"do_normalize": true,
|
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": "ConvNextImageProcessor",
|
12 |
+
"image_std": [
|
13 |
+
0.229,
|
14 |
+
0.224,
|
15 |
+
0.225
|
16 |
+
],
|
17 |
+
"resample": 3,
|
18 |
+
"rescale_factor": 0.00392156862745098,
|
19 |
+
"size": {
|
20 |
+
"shortest_edge": 224
|
21 |
+
}
|
22 |
+
}
|
MODELS/cifnet-18-tiny/config.json
CHANGED
@@ -23,7 +23,7 @@
|
|
23 |
64,
|
24 |
64
|
25 |
],
|
26 |
-
"id2label":{
|
27 |
"0": "airplane",
|
28 |
"1": "automobile",
|
29 |
"2": "bird",
|
@@ -35,7 +35,7 @@
|
|
35 |
"8": "ship",
|
36 |
"9": "truck"
|
37 |
},
|
38 |
-
"label2id":{
|
39 |
"airplane": "0",
|
40 |
"automobile": "1",
|
41 |
"bird": "2",
|
@@ -52,4 +52,4 @@
|
|
52 |
"num_channels": 3,
|
53 |
"torch_dtype": "float32",
|
54 |
"transformers_version": "4.38.2"
|
55 |
-
}
|
|
|
23 |
64,
|
24 |
64
|
25 |
],
|
26 |
+
"id2label": {
|
27 |
"0": "airplane",
|
28 |
"1": "automobile",
|
29 |
"2": "bird",
|
|
|
35 |
"8": "ship",
|
36 |
"9": "truck"
|
37 |
},
|
38 |
+
"label2id": {
|
39 |
"airplane": "0",
|
40 |
"automobile": "1",
|
41 |
"bird": "2",
|
|
|
52 |
"num_channels": 3,
|
53 |
"torch_dtype": "float32",
|
54 |
"transformers_version": "4.38.2"
|
55 |
+
}
|
MODELS/cifnet-18-tiny_bottleneck/config.json
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
],
|
6 |
"main_kernel_size": 3,
|
7 |
"embedding_kwargs": {
|
8 |
-
"embedding_size":
|
9 |
"embedding_kernel_size_1": 7,
|
10 |
"embedding_kernel_size_2": 2,
|
11 |
"embedding_stride_1": 2,
|
@@ -22,10 +22,10 @@
|
|
22 |
],
|
23 |
"activation": "silu",
|
24 |
"hidden_sizes": [
|
25 |
-
32,
|
26 |
-
64,
|
27 |
128,
|
28 |
-
|
|
|
|
|
29 |
],
|
30 |
"id2label":{
|
31 |
"0": "airplane",
|
|
|
5 |
],
|
6 |
"main_kernel_size": 3,
|
7 |
"embedding_kwargs": {
|
8 |
+
"embedding_size": 64,
|
9 |
"embedding_kernel_size_1": 7,
|
10 |
"embedding_kernel_size_2": 2,
|
11 |
"embedding_stride_1": 2,
|
|
|
22 |
],
|
23 |
"activation": "silu",
|
24 |
"hidden_sizes": [
|
|
|
|
|
25 |
128,
|
26 |
+
128,
|
27 |
+
128,
|
28 |
+
128
|
29 |
],
|
30 |
"id2label":{
|
31 |
"0": "airplane",
|