Omar280X commited on
Commit
33c7456
·
1 Parent(s): 4078d0a

Training in progress steps 4

Browse files
Files changed (3) hide show
  1. config.json +12 -12
  2. preprocessor_config.json +2 -2
  3. tf_model.h5 +2 -2
config.json CHANGED
@@ -1,16 +1,16 @@
1
  {
2
- "_name_or_path": "/home/administrator/Omar280X/news/memes_line_seg_b5_newspaper_generator_x10_30epochs/",
3
  "architectures": [
4
  "SegformerForSemanticSegmentation"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
  "classifier_dropout_prob": 0.1,
8
- "decoder_hidden_size": 768,
9
  "depths": [
10
- 3,
11
- 6,
12
- 40,
13
- 3
14
  ],
15
  "downsampling_rates": [
16
  1,
@@ -22,20 +22,20 @@
22
  "hidden_act": "gelu",
23
  "hidden_dropout_prob": 0.0,
24
  "hidden_sizes": [
 
25
  64,
26
- 128,
27
- 320,
28
- 512
29
  ],
30
  "id2label": {
31
  "0": "background",
32
- "1": "memes_line"
33
  },
34
  "image_size": 224,
35
  "initializer_range": 0.02,
36
  "label2id": {
37
  "background": 0,
38
- "memes_line": 1
39
  },
40
  "layer_norm_eps": 1e-06,
41
  "mlp_ratios": [
@@ -74,5 +74,5 @@
74
  2
75
  ],
76
  "torch_dtype": "float32",
77
- "transformers_version": "4.29.0"
78
  }
 
1
  {
2
+ "_name_or_path": "nvidia/segformer-b0-finetuned-ade-512-512",
3
  "architectures": [
4
  "SegformerForSemanticSegmentation"
5
  ],
6
  "attention_probs_dropout_prob": 0.0,
7
  "classifier_dropout_prob": 0.1,
8
+ "decoder_hidden_size": 256,
9
  "depths": [
10
+ 2,
11
+ 2,
12
+ 2,
13
+ 2
14
  ],
15
  "downsampling_rates": [
16
  1,
 
22
  "hidden_act": "gelu",
23
  "hidden_dropout_prob": 0.0,
24
  "hidden_sizes": [
25
+ 32,
26
  64,
27
+ 160,
28
+ 256
 
29
  ],
30
  "id2label": {
31
  "0": "background",
32
+ "1": "plate_line"
33
  },
34
  "image_size": 224,
35
  "initializer_range": 0.02,
36
  "label2id": {
37
  "background": 0,
38
+ "plate_line": 1
39
  },
40
  "layer_norm_eps": 1e-06,
41
  "mlp_ratios": [
 
74
  2
75
  ],
76
  "torch_dtype": "float32",
77
+ "transformers_version": "4.37.0"
78
  }
preprocessor_config.json CHANGED
@@ -17,7 +17,7 @@
17
  "resample": 2,
18
  "rescale_factor": 0.00392156862745098,
19
  "size": {
20
- "height": 640,
21
- "width": 640
22
  }
23
  }
 
17
  "resample": 2,
18
  "rescale_factor": 0.00392156862745098,
19
  "size": {
20
+ "height": 512,
21
+ "width": 512
22
  }
23
  }
tf_model.h5 CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1084b31ac0a2408eeb2c216186f26c4cc9171cebd3b466a8596d6743425c6ce9
3
- size 339913320
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb9455e00ffdcb2c233291d3db728d578868a7b49ea3feefdff8b5b97c403336
3
+ size 15132832