Bartzi / stn-ocr

Code for the paper STN-OCR: A single Neural Network for Text Detection and Text Recognition
https://arxiv.org/abs/1707.08831
GNU General Public License v3.0
499 stars 139 forks source link

no file /train/0.png #20

Open gydlcc opened 6 years ago

gydlcc commented 6 years ago

hello dear Bartzi FileNotFoundError: [Errno 2] No such file or directory: '/train/0.png' what i'm supposed to do with that

Bartzi commented 6 years ago

You should have a look at your groundtruth file. The path to your images is definitely wrong. I think you should not have /train/0.png but rather train/0.png

gydlcc commented 6 years ago

yeah, i guess so . but how could i change /train/0.png into train/0.png . i don't know where to change

gydlcc commented 6 years ago

what i am running is train_svhn.py

Bartzi commented 6 years ago

You already figured out which csv file to use for training. This csv file provides the path to all images that are to be used for training. You should have a look at this file.