Upload ResNetForImageClassification
Browse files- config.json +32 -16
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,14 +1,24 @@
|
|
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": "LABEL_0",
|
14 |
"1": "LABEL_1",
|
@@ -211,9 +221,6 @@
|
|
211 |
"198": "LABEL_198",
|
212 |
"199": "LABEL_199"
|
213 |
},
|
214 |
-
"image_size": 224,
|
215 |
-
"initializer_range": 0.02,
|
216 |
-
"intermediate_size": 3072,
|
217 |
"label2id": {
|
218 |
"n01443537": "0",
|
219 |
"n01629819": "1",
|
@@ -416,14 +423,23 @@
|
|
416 |
"n13719102": "198",
|
417 |
"n14991210": "199"
|
418 |
},
|
419 |
-
"
|
420 |
-
"model_type": "
|
421 |
-
"num_attention_heads": 12,
|
422 |
"num_channels": 3,
|
423 |
-
"
|
424 |
-
|
|
|
|
|
|
|
|
|
425 |
"problem_type": "single_label_classification",
|
426 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
427 |
"torch_dtype": "float32",
|
428 |
"transformers_version": "4.28.1"
|
429 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "microsoft/resnet-18",
|
3 |
"architectures": [
|
4 |
+
"ResNetForImageClassification"
|
5 |
],
|
6 |
+
"depths": [
|
7 |
+
2,
|
8 |
+
2,
|
9 |
+
2,
|
10 |
+
2
|
11 |
+
],
|
12 |
+
"downsample_in_first_stage": false,
|
13 |
+
"embedding_size": 64,
|
14 |
"finetuning_task": "image-classification",
|
15 |
+
"hidden_act": "relu",
|
16 |
+
"hidden_sizes": [
|
17 |
+
64,
|
18 |
+
128,
|
19 |
+
256,
|
20 |
+
512
|
21 |
+
],
|
22 |
"id2label": {
|
23 |
"0": "LABEL_0",
|
24 |
"1": "LABEL_1",
|
|
|
221 |
"198": "LABEL_198",
|
222 |
"199": "LABEL_199"
|
223 |
},
|
|
|
|
|
|
|
224 |
"label2id": {
|
225 |
"n01443537": "0",
|
226 |
"n01629819": "1",
|
|
|
423 |
"n13719102": "198",
|
424 |
"n14991210": "199"
|
425 |
},
|
426 |
+
"layer_type": "basic",
|
427 |
+
"model_type": "resnet",
|
|
|
428 |
"num_channels": 3,
|
429 |
+
"out_features": [
|
430 |
+
"stage4"
|
431 |
+
],
|
432 |
+
"out_indices": [
|
433 |
+
4
|
434 |
+
],
|
435 |
"problem_type": "single_label_classification",
|
436 |
+
"stage_names": [
|
437 |
+
"stem",
|
438 |
+
"stage1",
|
439 |
+
"stage2",
|
440 |
+
"stage3",
|
441 |
+
"stage4"
|
442 |
+
],
|
443 |
"torch_dtype": "float32",
|
444 |
"transformers_version": "4.28.1"
|
445 |
}
|
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:133c7665131b67cb752899877cfaa47c896b02e48a412657f0ca10203aa98218
|
3 |
+
size 45196149
|