Deepayan137 / Adapting-OCR

Pytorch implementation of our paper: Adapting OCR with Limited Labels
MIT License
57 stars 27 forks source link

error while running the data generation script #1

Closed n0obcoder closed 3 years ago

n0obcoder commented 4 years ago

I am a Windows user. I tried running the following command for data generation on the terminal

trdg -i words.txt -c 1000 --output_dir source_dir -ft fonts/Arimo-Regular.ttf

and got the following error

OSError: [Errno 22] Invalid argument: 'source_dir\\you?_379.jpg'

deepayan_adaptive_OCR_error