Update README.md
Browse files123456---license: mittags:- scene text erase- poster text erase---12345678910111213141516171819202122232425262728293031323334---license: apache-2.0tags:- scene text erase- poster text erase---# Self-supervised Text Erasing Model (STE)Paper: [https://arxiv.org/abs/2204.12743](https://arxiv.org/abs/2204.12743)<br/>Project Page: [https://github.com/alimama-creative/Self-supervised-Text-Erasing](https://github.com/alimama-creative/Self-supervised-Text-Erasing)<br/>## DescriptionThe checkpoints are trained from the posterErase dataset. There are two versions with different training mechanism.Self-supervised Text Trasing: To use it, please download from this page, and put it under './checkpoints/erasenet/ste/best_net_G.pth'Finetuning after STE : To use it, please download from this page, and put it under './checkpoints/erasenet/ste/best_net_G.pth'## UsageFirst, download the github project and install the python package.```bashgit clone https://github.com/alimama-creative/Self-supervised-Text-Erasing.gitpip install -r requirements.txt```Then, follow the command line provied in the github to run the inference code.```bashpython test.py --dataset_mode items --dataroot ./examples/poster --model erasenet --name ft --which_epoch best # inferece with the ste model on posterpython test.py --dataset_mode items --dataroot ./examples/poster --model erasenet --name ste --which_epoch best # inferece with the finetuned model model on poster```
README.md+30-2