I am learning tensorflow, and now I am trying to convert the keras model into the tflite model. There is no error in the conversion process, but when I use the tflite model successfully converted, the value provided by it is completely wrong. Whether I wear a mask or not, it may be recognized as not wearing or wearing. This is the code of my identification part, The code of the conversion part and the code of the training part
file/d/1qPSYkdWqduojMg5NPxTOTdLAzQiZRgEp/view?usp=sharing
In addition, it seems that I can’t directly publish the links of Google online disk, so I only publish the key parts. I don’t know whether this operation is in line with the rules of tensorflow community