I’m following this Keras tutorial in R:
https://tensorflow.rstudio.com/tutorials/beginners/load/load_image/
After training my model, how do I form a prediction for a new flower image not used in training?
I’m following this Keras tutorial in R:
https://tensorflow.rstudio.com/tutorials/beginners/load/load_image/
After training my model, how do I form a prediction for a new flower image not used in training?
I don’t know R but looking into the code you shared, I’d try something like:
prediction = model(decode_img(file_path))
or something like that
the idea is to try to replicate exact the same data used during training