Relative Content

Tag Archive for pythontensorflowimage-processingclassificationtflite

Error when train model with 2 output classes in Image Classification Mushroom

I have a complaint during the model train that may be caused by my code syntax. I want to create a mushroom image classification model that will produce 2 outputs to appear on mobile apps (tflite deploy to mobile apps). I created 2 classes for the output where there are types of mushrooms, namely Edible and Non-Edible Mushroom and also the name of the mushroom type which has 20 names of mushroom type names. In the code below, I used mobilnetV2 transfer learning :