hf-transformers-bot commited on
Commit
7c1db02
·
1 Parent(s): 33195bf

Upload tiny models for ResNetBackbone

Browse files
Files changed (3) hide show
  1. config.json +48 -0
  2. preprocessor_config.json +23 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ResNetBackbone"
4
+ ],
5
+ "depths": [
6
+ 1,
7
+ 1,
8
+ 2,
9
+ 1
10
+ ],
11
+ "downsample_in_first_stage": false,
12
+ "embedding_size": 64,
13
+ "embeddings_size": 10,
14
+ "hidden_act": "relu",
15
+ "hidden_sizes": [
16
+ 10,
17
+ 20,
18
+ 30,
19
+ 40
20
+ ],
21
+ "id2label": {
22
+ "0": "LABEL_0",
23
+ "1": "LABEL_1",
24
+ "2": "LABEL_2"
25
+ },
26
+ "label2id": {
27
+ "LABEL_0": 0,
28
+ "LABEL_1": 1,
29
+ "LABEL_2": 2
30
+ },
31
+ "layer_type": "bottleneck",
32
+ "model_type": "resnet",
33
+ "num_channels": 3,
34
+ "out_features": [
35
+ "stage2",
36
+ "stage3",
37
+ "stage4"
38
+ ],
39
+ "stage_names": [
40
+ "stem",
41
+ "stage1",
42
+ "stage2",
43
+ "stage3",
44
+ "stage4"
45
+ ],
46
+ "torch_dtype": "float32",
47
+ "transformers_version": "4.28.0.dev0"
48
+ }
preprocessor_config.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_pct": 0.875,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "feature_extractor_type": "ConvNextFeatureExtractor",
7
+ "image_mean": [
8
+ 0.485,
9
+ 0.456,
10
+ 0.406
11
+ ],
12
+ "image_processor_type": "ConvNextImageProcessor",
13
+ "image_std": [
14
+ 0.229,
15
+ 0.224,
16
+ 0.225
17
+ ],
18
+ "resample": 3,
19
+ "rescale_factor": 0.00392156862745098,
20
+ "size": {
21
+ "shortest_edge": 224
22
+ }
23
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:28fa4f812b0b717f78f689bb1c3e3d4a0160be21711475eb51af0a1ca36ca9ac
3
+ size 106157