EdjeElectronics / TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi

A tutorial showing how to train, convert, and run TensorFlow Lite object detection models on Android devices, the Raspberry Pi, and more!
Apache License 2.0
1.5k stars 684 forks source link

Training Custom Model: 3.2 Split images into train, validation, and test folders not splitting #147

Closed Junaid0411 closed 1 year ago

Junaid0411 commented 1 year ago

Hi Edje,

Your repo has been very helpful and I'm grateful that you've been keeping everything updated.

I've been experiencing issues with train_val_test_split.py , it doesn't split my images and XML files into the 3 folders. Here's a screenshot:

image

Any advice would be greatly appreciated!

Junaid0411 commented 1 year ago

Issue resolved; just an issue with folder management.

EdjeElectronics commented 1 year ago

Hi @Junaid0411 , thanks for closing this issue after you figured out how to resolve it. Looking at the screencap you shared, it's pretty common for people to use a similar folder structure as you did. I've got it on my TO DO list to figure out a good way to handle the images.zip file if the images are nested inside an additional folder within the compressed folder.