Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

請問這類的驗證碼的樣本數和配置 #106

Open
areckkimo opened this issue Sep 24, 2022 · 2 comments
Open

請問這類的驗證碼的樣本數和配置 #106

areckkimo opened this issue Sep 24, 2022 · 2 comments

Comments

@areckkimo
Copy link

areckkimo commented Sep 24, 2022

請教一下,目前驗證碼的特徵有: 斜體字 / 前景干擾 / 背景干擾 / 多種字體 / 數字
image

目前配置
Label Num: 5
CNN Layer: CNN3
Recurrent Layer: GRU
UnitsNum: 64
Loss Function: CTC
Optimizer: RAdam
Learning Rate: 0.001
Category: Numeric

Epoch已經1864但是Accuracy仍然是0,訓練樣本數是700張,用來驗證有300張

請問可以調整配置,讓Accuracy上來

Log
INFO:tensorflow:0 5 3 [6, 9, 3, 6, 9] [5, 6, 1, 11, 11, 11] --> ['5', '8', '2', '5', '8'] ['4', '5', '0', '-', '-', '-']
INFO:tensorflow:1 5 2 [7, 10, 8, 1, 3] [8, 1, 11, 11, 11, 11] --> ['6', '9', '7', '0', '2'] ['7', '0', '-', '-', '-', '-']
INFO:tensorflow:2 5 4 [3, 7, 10, 1, 9] [2, 9, 1, 7, 11, 11] --> ['2', '6', '9', '0', '8'] ['1', '8', '0', '6', '-', '-']
INFO:tensorflow:3 5 2 [7, 8, 4, 1, 6] [10, 6, 11, 11, 11, 11] --> ['6', '7', '3', '0', '5'] ['9', '5', '-', '-', '-', '-']
INFO:tensorflow:4 5 5 [5, 8, 6, 9, 5] [9, 5, 11, 2, 6, 10] --> ['4', '7', '5', '8', '4'] ['8', '4', '-', '1', '5', '9']
ERROR:tensorflow:[{"origin": "58258", "decode": "450---"}, {"origin": "69702", "decode": "70----"}, {"origin": "26908", "decode": "1806--"}, {"origin": "67305", "decode": "95----"}, {"origin": "47584", "decode": "84-159"}]
INFO:tensorflow:Epoch: 1864, Step: 20500, Accuracy = 0.0000, Cost = 0.08694, Time = 1.371 sec/batch, LearningRate: 0.00048020004760473967

@kerlomz
Copy link
Owner

kerlomz commented Sep 25, 2022

增加样本到5千张,网络选CNNX,应该可以达到80-90,1万张应该可以95以上

@areckkimo
Copy link
Author

增加样本到5千张,网络选CNNX,应该可以达到80-90,1万张应该可以95以上

謝謝
請問CNNX和CNN3差別

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants