On the client side, when running the application, I can see that the initial model used is the one located in assets folder. If we create the initial model on the server (PhotoLabellerServer/model/src/main/kotlin/com/mccorby/photolabeller/ml/Main.kt), and then we use the generated model in the app, the model misbehaves; The prediction for the images as well as the scores at each iteration when training the new model show a NaN values.
So how the initial model in the assets folder has been generated ?
On the client side, when running the application, I can see that the initial model used is the one located in assets folder. If we create the initial model on the server (PhotoLabellerServer/model/src/main/kotlin/com/mccorby/photolabeller/ml/Main.kt), and then we use the generated model in the app, the model misbehaves; The prediction for the images as well as the scores at each iteration when training the new model show a NaN values.
So how the initial model in the assets folder has been generated ?