When importing a folder of images into Create ML, you may encounter the following error message:
Training Data Error
Empty table from specified data source
What this seems to actually mean is that there is something in the folder that is not:
- an image
- a JSON file with annotations for the images
If, for example, you are using RectLabel to annotate your images, there will also be an annotations folder with your images. You will need to remove this before the folder can be processed.
Once you’ve cleaned up your images folder, hit Rescan and they should be read properly and you can proceed to train your model.
One thought on “Create ML – Training Data Error”
I noticed “Empty table from specified data source” may occur if any of the filenames contain spaces. Using Create ML Version 2.0 (53.2.2).