In this video it is shown how to create xml_to_csv files and generate tfrecord_files at once using auto.sh file.
1.Create a folder and place generate_tfrecords.py, xml_to_csv.py, train.py and auto.sh file in it.
2.Now create a folder called "images"(need to be exactly same for auto.sh to run) and place the test and train folders of your dataset in it.
3.Next navigate to your folder and run auto.sh file.It creates the test_labels.csv and train_labels.csv along with train.record and test.record
4.Next run the training in virtual machine.
You can find the auto.sh file by clicking this link.
[ Ссылка ]
![](https://i.ytimg.com/vi/-cvXHLMaz18/mqdefault.jpg)