This is the pytorch implementation of Chargrid paper Arxive Link.
Pre-processing has been taken from Antoine Delplace's repository.
Also, for tensorflow2.0 implementation check out his repository Link Here
See this for model description
After cloning this repository
Use the package manager pip to install the requirements.
pip install -r requirements.txtCopy env.sample to .env
Then add folder paths for the dataset in .env file
Run following to preprocess the dataset
python -m data_pipeline.preprocessing
python -m data_pipeline.preprocessing_bis
python -m data_pipeline.preprocessing_terOnce you have data preprocessed run train.py.
python train.pyOr for resumable training run
python resumable.pyThis implementation uses The ICDAR 2019 dataset.
For more information and download sources check Niansong Zhang's work
We use black code formatter. Before committing please run following in your terminal from the project root directory.
black ./*/*.py