FlanChanXwO commited on
Commit
a690658
·
verified ·
1 Parent(s): ad8a082

Upload config.json with huggingface_hub

Browse files
Files changed (1) hide show
  1. config.json +48 -0
config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "southplus-captcha-ocr",
3
+ "task": "captcha-ocr",
4
+ "framework": "pytorch",
5
+ "format": "onnx",
6
+ "onnx_opsets": [18],
7
+ "num_params": 988786,
8
+ "input": {
9
+ "name": "input",
10
+ "shape": ["batch", 3, 64, 160],
11
+ "dtype": "float32",
12
+ "range": [0.0, 1.0]
13
+ },
14
+ "output": {
15
+ "name": "logits",
16
+ "shape": ["batch", 4, 10],
17
+ "dtype": "float32"
18
+ },
19
+ "task_spec": {
20
+ "num_digits": 4,
21
+ "charset": "0123456789",
22
+ "decode": "argmax over last dim per position"
23
+ },
24
+ "preprocessing": {
25
+ "mode": "RGB",
26
+ "resize": [160, 64],
27
+ "resample": "BILINEAR",
28
+ "denoise": false,
29
+ "normalize": "divide by 255"
30
+ },
31
+ "training": {
32
+ "dataset_size": 997,
33
+ "label_source": "human",
34
+ "epochs": 500,
35
+ "best_epoch": 50,
36
+ "optimizer": "Adam",
37
+ "learning_rate": 0.001,
38
+ "lr_scheduler": "ReduceLROnPlateau(patience=10, factor=0.5)",
39
+ "loss": "sum of 4 CrossEntropy",
40
+ "augmentation": "rotation ±6 deg, scale 0.92-1.08, translate ±3px, no gaussian noise",
41
+ "val_split": 0.08
42
+ },
43
+ "metrics": {
44
+ "val_accuracy": 0.8861,
45
+ "login_per_attempt": 0.876,
46
+ "login_with_6_retries": 0.999997
47
+ }
48
+ }