Upload ResNetForImageClassification
Browse files- config.json +54 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "microsoft/resnet-34",
|
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 |
+
"hidden_act": "relu",
|
15 |
+
"hidden_sizes": [
|
16 |
+
64,
|
17 |
+
128,
|
18 |
+
256,
|
19 |
+
512
|
20 |
+
],
|
21 |
+
"id2label": {
|
22 |
+
"0": "0",
|
23 |
+
"1": "1",
|
24 |
+
"2": "2",
|
25 |
+
"3": "3",
|
26 |
+
"4": "4"
|
27 |
+
},
|
28 |
+
"label2id": {
|
29 |
+
"0": 0,
|
30 |
+
"1": 1,
|
31 |
+
"2": 2,
|
32 |
+
"3": 3,
|
33 |
+
"4": 4
|
34 |
+
},
|
35 |
+
"layer_type": "basic",
|
36 |
+
"model_type": "resnet",
|
37 |
+
"num_channels": 3,
|
38 |
+
"out_features": [
|
39 |
+
"stage4"
|
40 |
+
],
|
41 |
+
"out_indices": [
|
42 |
+
4
|
43 |
+
],
|
44 |
+
"problem_type": "single_label_classification",
|
45 |
+
"stage_names": [
|
46 |
+
"stem",
|
47 |
+
"stage1",
|
48 |
+
"stage2",
|
49 |
+
"stage3",
|
50 |
+
"stage4"
|
51 |
+
],
|
52 |
+
"torch_dtype": "float32",
|
53 |
+
"transformers_version": "4.30.2"
|
54 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0c5f8d8983a37cf6592a726c62f2c8067982a84e2be758d0dea12b039ba0a899
|
3 |
+
size 85294453
|