Skip to content
Advertisement

Tensorflow Lite, Image size is zero error

Actually, my question is very simple. I would like to use my own data in tensorflow lite model. So, i wrote these line of codes:

JavaScript

Also, this is the error that I encountered:

JavaScript

Advertisement

Answer

This happens when the Dataloader cannot infer the labels of your images. The images should be divided into subfolders according to the class they belong to:

JavaScript
JavaScript

enter image description here

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement