luopeixiang / im2latex

Pytorch implemention of Deep CNN Encoder + LSTM Decoder with Attention for Image to Latex
MIT License
185 stars 49 forks source link

I am getting FileNotFoundError: [Errno 2] No such file or directory: '/content/im2latex/data/train.pkl' #16

Open GopinathCool opened 3 years ago

GopinathCool commented 3 years ago

I am getting the above error, after running python train.py --data_path=/content/im2latex/data/ --save_dir=/content/im2latex/data --dropout=0.2 --add_position_features --epoches=25 --max_len=150

timoangerer commented 3 years ago

It seems like the train.pkl can not be found. Are you sure that the file exists in the specified data directory?

The train.pkl file can be created during the data preprocessing step by running python preprocess.py.