Android-TensorFlow-Lite-Example
Android-TensorFlow-Lite-Example copied to clipboard
Could I re-train it with my own datasets?
Hi, Yes you definitely can! If the dataset is labeled, you should complete tensorflow for poets. Instead of download the training images from google, add yours.
Then, you have labels and NN (not tf-lite). So in tensorflow for poets 2 tflite you will optimize your model using the TFLite converter.
After that, just swich mobilenet_quant_v1_224.tflite
and labels.txt
with the files that tf for poets executed.
Good luck :-)
I tried to retrain it with my own data set and used mobilenet_1.0_224 as tfhub module but it crashes, please help me
My recent PR has added support for float models, which is probably the type of model you trained. Simply change the variable QUANT to false in TensorFlowImageClassifier.java along with changing the model and lebels name.
Hi there. I wanted to know if you retrain with a new dataset, how do you order the new labels in the label.txt file? Does the order matter? And if so, how can one be sure of the order to use?
I working with a new model built using tesnorflow 1.13.1's Keras.