sngsfydy commited on
Commit
a8aff17
1 Parent(s): 44d5c99

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-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
+ "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.31.0"
54
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ddf0b6daafebaf2d21b077c5ca6a87ed41215ac7a634ad8e39cb87d7130b18c0
3
+ size 44797749