Commit
·
a0b3c0f
1
Parent(s):
1a816d9
Model save
Browse files- config.json +24 -22
- preprocessor_config.json +9 -8
- pytorch_model.bin +2 -2
- training_args.bin +1 -1
config.json
CHANGED
@@ -1,34 +1,36 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
7 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"finetuning_task": "image-classification",
|
9 |
-
"hidden_act": "
|
10 |
-
"
|
11 |
-
|
|
|
|
|
|
|
|
|
12 |
"id2label": {
|
13 |
-
"0": "
|
14 |
-
"1": "
|
15 |
-
"2": "healthy"
|
16 |
},
|
17 |
-
"image_size": 224,
|
18 |
-
"initializer_range": 0.02,
|
19 |
-
"intermediate_size": 3072,
|
20 |
"label2id": {
|
21 |
-
"
|
22 |
-
"
|
23 |
-
"healthy": "2"
|
24 |
},
|
25 |
-
"
|
26 |
-
"model_type": "
|
27 |
-
"num_attention_heads": 12,
|
28 |
"num_channels": 3,
|
29 |
-
"
|
30 |
-
"patch_size": 16,
|
31 |
-
"qkv_bias": true,
|
32 |
"torch_dtype": "float32",
|
33 |
"transformers_version": "4.22.0.dev0"
|
34 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "microsoft/resnet-50",
|
3 |
"architectures": [
|
4 |
+
"ResNetForImageClassification"
|
5 |
],
|
6 |
+
"depths": [
|
7 |
+
3,
|
8 |
+
4,
|
9 |
+
6,
|
10 |
+
3
|
11 |
+
],
|
12 |
+
"downsample_in_first_stage": false,
|
13 |
+
"embedding_size": 64,
|
14 |
"finetuning_task": "image-classification",
|
15 |
+
"hidden_act": "relu",
|
16 |
+
"hidden_sizes": [
|
17 |
+
256,
|
18 |
+
512,
|
19 |
+
1024,
|
20 |
+
2048
|
21 |
+
],
|
22 |
"id2label": {
|
23 |
+
"0": "cats",
|
24 |
+
"1": "dogs"
|
|
|
25 |
},
|
|
|
|
|
|
|
26 |
"label2id": {
|
27 |
+
"cats": "0",
|
28 |
+
"dogs": "1"
|
|
|
29 |
},
|
30 |
+
"layer_type": "bottleneck",
|
31 |
+
"model_type": "resnet",
|
|
|
32 |
"num_channels": 3,
|
33 |
+
"problem_type": "single_label_classification",
|
|
|
|
|
34 |
"torch_dtype": "float32",
|
35 |
"transformers_version": "4.22.0.dev0"
|
36 |
}
|
preprocessor_config.json
CHANGED
@@ -1,17 +1,18 @@
|
|
1 |
{
|
|
|
2 |
"do_normalize": true,
|
3 |
"do_resize": true,
|
4 |
-
"feature_extractor_type": "
|
5 |
"image_mean": [
|
6 |
-
0.
|
7 |
-
0.
|
8 |
-
0.
|
9 |
],
|
10 |
"image_std": [
|
11 |
-
0.
|
12 |
-
0.
|
13 |
-
0.
|
14 |
],
|
15 |
-
"resample":
|
16 |
"size": 224
|
17 |
}
|
|
|
1 |
{
|
2 |
+
"crop_pct": 0.875,
|
3 |
"do_normalize": true,
|
4 |
"do_resize": true,
|
5 |
+
"feature_extractor_type": "ConvNextFeatureExtractor",
|
6 |
"image_mean": [
|
7 |
+
0.485,
|
8 |
+
0.456,
|
9 |
+
0.406
|
10 |
],
|
11 |
"image_std": [
|
12 |
+
0.229,
|
13 |
+
0.224,
|
14 |
+
0.225
|
15 |
],
|
16 |
+
"resample": 3,
|
17 |
"size": 224
|
18 |
}
|
pytorch_model.bin
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:632f98ee60fb0af9af8a0474bf6338186a1cb212ef578627d0816a494e58f594
|
3 |
+
size 94372673
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 3375
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:57f9b955c2006f19e884f2ba2127bae2b54b3378da247d1c0800c9a874345d69
|
3 |
size 3375
|