TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi icon indicating copy to clipboard operation
TensorFlow-Lite-Object-Detection-on-Android-and-Raspberry-Pi copied to clipboard

Error while running my model

Open babmuckja opened this issue 4 years ago • 4 comments
trafficstars

HI. I'm doing my project in college . In the project, we need a program that recognizes numbers. so we made the model with teachable machine(google). I followed your example video well. But when I try to run my model, I get an error and I want to ask about this problem. 1 This is my model folder. [If your model folder has a different name than "Sample_TFLite_model", use that name instead. For example, I would use --modeldir=BirdSquirrelRaccoon_TFLite_model to run my custom bird, squirrel, and raccoon detection model.] <- we tried this but we couldnt do. 3 4 How can we solve this problem.? Pls help me..

babmuckja avatar Apr 16 '21 10:04 babmuckja

check the file name ... The path to the file name in the code is "labelmap.txt", but you have "label.txt". Plus, not "model.tflite", but "detect.tflite" according to your code.

seung-gu avatar Apr 16 '21 15:04 seung-gu

I changed the file name before. labels.txt -> labelmap.txt and model.tflite -> detect.tflite. but It didn't work.

babmuckja avatar Apr 17 '21 04:04 babmuckja

123 1234 1224 Im new at cording..

babmuckja avatar Apr 17 '21 04:04 babmuckja

how do you fix it i have the same problem

mohamedtagi1 avatar Oct 12 '21 20:10 mohamedtagi1