PatrickLib / captcha_recognize

Image Recognition captcha without image segmentation 无需图片分割的验证码识别
Apache License 2.0
556 stars 173 forks source link

Training loss just keep increasing #1

Closed agilotra closed 7 years ago

agilotra commented 7 years ago

Model doesnot work. Training loss never stablizes. Here is the proof.

Step 440 run_train: loss = 15.94 (8.119 sec) Step 450 run_train: loss = 36.65 (8.486 sec) Step 460 run_train: loss = 102.19 (8.480 sec) Step 470 run_train: loss = 317.27 (9.262 sec) Step 480 run_train: loss = 801.44 (8.208 sec) Step 490 run_train: loss = 2089.72 (7.839 sec) Step 500 run_train: loss = 5845.62 (7.887 sec) 2017-08-26 13:12:49.057376 Saving in ./captcha_train/captcha Step 510 run_train: loss = 13428.68 (7.818 sec) Step 520 run_train: loss = 25587.19 (9.801 sec) Step 530 run_train: loss = 59853.98 (7.978 sec) Step 540 run_train: loss = 108795.05 (8.611 sec) Step 550 run_train: loss = 190373.88 (8.281 sec) Step 560 run_train: loss = 308137.38 (7.726 sec)

Configuration: IMAGE_HEIGHT = 65 IMAGE_WIDTH = 190 CHAR_SETS = 'abcdefghijklmnopqrstuvwxyz' CLASSES_NUM = len(CHAR_SETS) CHARS_NUM = 8

PatrickLib commented 7 years ago

IMAGE_HEIGHT = 65, IMAGE_WIDTH = 190, CHARS_NUM =8 also can work fine. do you change loss function in captcha_models.py or image decode in captcha_input.py? what's kind of your captcha generate ? you can redownload the master code, using generate_default and try again. have a good luck!

agilotra commented 7 years ago

Attaching few of captchas i was trying to decode ablafe_1437502_1501587421 ablded_1473985_1501586593 acisses_1468563_1501586650 acises_1439585_1501587037 aciming_1473180_1501586600 acirter_1449470_1501586944