- Install ImageCaptcha:
pip3 install captcha
- Create dataset:
python3 create_dataset.py
kh1kjs
8kxqyc
tjjzbu
- Change lr, batch size, no.epoch, data directory, description, etc in
config.py
- Run training:
python3 training.py
- Choose directory to decode
img_dir
and the descriptiondescription_path
inconfig.py
- Run testing:
python3 testing.py
- Predict text for an image
- Run:
python3 predict.py
Data was created by myself and was used for a research competition on Kaggle: https://www.kaggle.com/c/aif-challenge2/
- Publict test: 91.25%
- Private test: 78.66%