Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 1.41 KB

README.md

File metadata and controls

18 lines (14 loc) · 1.41 KB

Steps to train AI model:

  1. Install all requirements(if not yet) using command pip install -r requirements.txt
  2. download images from here (or use your own dataset), create folder images and place all dataset into 2 folders: train and test. Image name format: answer123-randomseed.jpeg
  3. Configure code/utils/config.py file - img_width, img_height, format, ect.
  4. Run code/statistics.py for analyzing your dataset (it will print all characters, whose your captchas contains)
  5. code/main.py - TRAIN your model
  6. code/test_mode.py - Test your tensorflow model
  7. code/to_onnx.py - Convert your model to ONNX format
  8. code/onnx_tester.py - Test your ONNX model
  9. Write your own captcha-solver-adapter. For example you can look at this file

code/tools.py - конфиг файл (файл модели, ) + тулзы

code/test_mode.py - тест модели на реальных данных code/to_onnx.py - конверт модели tesorflow в формат onnx (для использования через onnxruntime)

vk_captcha_lib - код библиотеки vk_captcha по решению капчи