Git Product home page Git Product logo

pycaptcha's Introduction

PyCAPTCHA ๐Ÿ”

็‰ˆๆœฌๅท issues forks stars License

An End-to-end Pytorch-Lightning implemented CAPTCHA OCR model.
Training 2 epoch under 100k images to get over 96% acc on Val dataset ๐Ÿคฉ

with 200k or even more training set you may get >98% acc

INSTALL โš™๏ธ

Step0: Clone the Project

git clone https://github.com/ZiYang-xie/PyCAPTCHA
cd PyCAPTCHA

Step1: Create & Activate Conda Env

conda create -n "PyCaptcha" python=3.7
conda activate PyCaptcha

Step2: Install Pytorch

conda install torch==1.9.0 torchvision==0.10.0 -c pytorch

Step3: Install PIP Requirements

pip install -r requirement.txt

Docment ๐Ÿ“ƒ

Checkout the PyCAPTCHA Usage in WIKI Page

Check the Doc

pycaptcha's People

Contributors

outsider565 avatar snyk-bot avatar ziyang-xie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pycaptcha's Issues

RuntimeError

This error occurred during train:

requested resize to (60, 160) ((60, 160) elements in total), but the given tensor has a size of 3x60x160 (28800 elements). autograd's resize can only change the shape of a given tensor, while preserving the number of elements.

Error in absence of GPU

I do not have a GPU on my PC and I want to run the training phase on my PC. There is no parameter to specify whether to use GPU or CPU.
Also, why not give a pre-trained network so that not everyone has to train the network independently?
Please help me with this issue.
Thanks
Py_img

Predict directory is not found

! python predictor.py --input "/content/download (1) (1).png" # Start Predicting

FileNotFoundError: [Errno 2] No such file or directory: '/content/PyCAPTCHA/logs/main/version_2/checkpoints/epoch=4-step=1954.ckpt'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.