mxnet icon indicating copy to clipboard operation
mxnet copied to clipboard

preprocessing.py error

Open Shashidhar123 opened this issue 10 years ago • 1 comments

Hi, I am using python 2.7 and getting this error File "preprocessing.py", line 134, in write_label_csv("./train-label.csv", train_frames, get_label_map("./data/train.csv")) File "preprocessing.py", line 49, in write_label_csv index = int(lst[0].split("/")[3]) ValueError: invalid literal for int() with base 10: 'train'

How to resolve this error.

Thanks sd

Shashidhar123 avatar Jan 15 '16 20:01 Shashidhar123

Fixed. Problem was the path had extra train folder /data/train/train.

Thanks

Shashidhar123 avatar Jan 15 '16 21:01 Shashidhar123