raccoon_dataset icon indicating copy to clipboard operation
raccoon_dataset copied to clipboard

No test_label.csv & train_label.csv Data generated.

Open xpcrts opened this issue 5 years ago • 5 comments

There is no data generated data/test_label.csv and data/train_label.csv files after I successfully run this file in xml_to_csv.py .

xpcrts avatar Dec 28 '18 12:12 xpcrts

same problem here

shahmustafa avatar Jan 11 '19 09:01 shahmustafa

Hello guys, I had the same problem... in my case, I solve the problem inserting the entire path of my diretories in the xml_to_csv.py

`def main(): for i in ['train','test']:

image_path = os.path.join(os.getcwd(), '/home/denissato/Downloads/Tensorflow/images/{}'.format(i))
xml_df = xml_to_csv(image_path)
labels_path = os.path.join(os.getcwd(), '/home/denissato/Downloads/Tensorflow/images/{}'.format(i))
xml_df.to_csv('/home/denissato/Downloads/Tensorflow/images/data/{}_labels.csv'.format(i), index=None)
print('Successfully converted xml to csv.')`

I hope helped you!

denissato avatar Mar 29 '19 19:03 denissato

Did this issue ever get resolved? @denissato I tried your fix but I got the same result. Successfully ran the code and produced a csv file with no data.

beetlebot372 avatar Feb 10 '20 05:02 beetlebot372

There is no data generated data/test_label.csv and data/train_label.csv files after I successfully run this file in xml_to_csv.py .

hye. have you solved it? really need your help regarding this

fatina98 avatar Dec 06 '21 04:12 fatina98

same problem here

are you able to solve it? im really need your help now. please

fatina98 avatar Dec 06 '21 04:12 fatina98