sngsfydy commited on
Commit
f6e9656
1 Parent(s): 6b05e99

Upload ResNetForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +54 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "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": "bottleneck",
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:cb293b2faea97d54c9560d1469d2b202bb6b41a8cc47b7d3db6e22fb4036a1e4
3
+ size 94399565