aanosov commited on
Commit
70500d3
1 Parent(s): 237bd86

Upload ResNetForImageClassification

Browse files
Files changed (2) hide show
  1. config.json +66 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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": "Grey",
23
+ "1": "Beige",
24
+ "2": "Green",
25
+ "3": "Orange",
26
+ "4": "Yellow",
27
+ "5": "Blue",
28
+ "6": "Brown",
29
+ "7": "Red",
30
+ "8": "White",
31
+ "9": "Silver",
32
+ "10": "Black"
33
+ },
34
+ "label2id": {
35
+ "Beige": 1,
36
+ "Black": 10,
37
+ "Blue": 5,
38
+ "Brown": 6,
39
+ "Green": 2,
40
+ "Grey": 0,
41
+ "Orange": 3,
42
+ "Red": 7,
43
+ "Silver": 9,
44
+ "White": 8,
45
+ "Yellow": 4
46
+ },
47
+ "layer_type": "basic",
48
+ "model_type": "resnet",
49
+ "num_channels": 3,
50
+ "out_features": [
51
+ "stage4"
52
+ ],
53
+ "out_indices": [
54
+ 4
55
+ ],
56
+ "problem_type": "single_label_classification",
57
+ "stage_names": [
58
+ "stem",
59
+ "stage1",
60
+ "stage2",
61
+ "stage3",
62
+ "stage4"
63
+ ],
64
+ "torch_dtype": "float32",
65
+ "transformers_version": "4.33.0"
66
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:92cbd58f4687b266bf4f325ebb6eef0acb77b88d05a86afae874a31510a0c77d
3
+ size 44810037