Frostbyte0
commited on
Commit
·
7eebb84
1
Parent(s):
7f9612a
Upload ResNetForImageClassification
Browse files- config.json +59 -0
- pytorch_model.bin +3 -0
config.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"hidden_act": "relu",
|
15 |
+
"hidden_sizes": [
|
16 |
+
256,
|
17 |
+
512,
|
18 |
+
1024,
|
19 |
+
2048
|
20 |
+
],
|
21 |
+
"id2label": {
|
22 |
+
"0": " Renaissance",
|
23 |
+
"1": " Surrealism",
|
24 |
+
"2": " baroque",
|
25 |
+
"3": " cubism",
|
26 |
+
"4": " minimalist",
|
27 |
+
"5": " popart",
|
28 |
+
"6": " realism",
|
29 |
+
"7": " romanticism"
|
30 |
+
},
|
31 |
+
"label2id": {
|
32 |
+
" Renaissance": "0",
|
33 |
+
" Surrealism": "1",
|
34 |
+
" baroque": "2",
|
35 |
+
" cubism": "3",
|
36 |
+
" minimalist": "4",
|
37 |
+
" popart": "5",
|
38 |
+
" realism": "6",
|
39 |
+
" romanticism": "7"
|
40 |
+
},
|
41 |
+
"layer_type": "bottleneck",
|
42 |
+
"model_type": "resnet",
|
43 |
+
"num_channels": 3,
|
44 |
+
"out_features": [
|
45 |
+
"stage4"
|
46 |
+
],
|
47 |
+
"out_indices": [
|
48 |
+
4
|
49 |
+
],
|
50 |
+
"stage_names": [
|
51 |
+
"stem",
|
52 |
+
"stage1",
|
53 |
+
"stage2",
|
54 |
+
"stage3",
|
55 |
+
"stage4"
|
56 |
+
],
|
57 |
+
"torch_dtype": "float32",
|
58 |
+
"transformers_version": "4.31.0"
|
59 |
+
}
|
pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:54587d46cac19f6b2cee5b8c5f424d7eaad855c23bbbaa9db397d30d0c2af20f
|
3 |
+
size 94424141
|