I am trying to train a custom object detection model using TF Lite Model Maker by referring the Train a salad detector with TensorFlow Lite Model Maker notebook
The dataset can be loaded with
dataloader = object_detector.DataLoader.from_pascal_voc(‘cartoon-detection/images’, ‘cartoon-detection/annotations’, [‘doraemon’, ‘mcqueen’, ‘mickey’, ‘mrbean’, ‘scooby’])
However, as I run the cell, I see an error that says, ValueError: Image format not JPEG despite the images being of the said format. Here’s a snapshot of the same.
I have tried using both the extensions - .jpg and .jpeg but nothing seems to work. The error persists.