You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I update your docker image and test my model which saved by SavedModel function. my model just is resnet_50 for classification, when I saved model as SavedModel format, the result did not change whether I changed any input picture ???
My Model have problem? what is wrong with my model or some reason?
Here is my saved model code :
First, I build a resnet_50 compute graph ,
and then I reload graph and restore weights from checkpoint.
Finally, I use tf.saved_model to save and everything is ok. I have no error or trouble.
I write client code for it , here:
In client code , first I read a image into numpy.array,
then convert data of image to [1, 64, 64 ,3] dtype=float32, and convert numpy to list .
Finally, send a requests like code and show all result.
the result is always is:
The text was updated successfully, but these errors were encountered:
It seems to be the problem of the model. Can you try run inference in your python script? For example, you can load the checkpoint and run sess.run() with your test data and print the result.
@tobegit3hub thanks for your reply, it is my mistakes. I check the input data. it is the same. I think the reason is opencv2 and opencv3 difference!. When I use opencv3 python api, the result is correct! Thank you
Hi, I update your docker image and test my model which saved by SavedModel function. my model just is resnet_50 for classification, when I saved model as SavedModel format, the result did not change whether I changed any input picture ???
My Model have problem? what is wrong with my model or some reason?
Here is my saved model code :
First, I build a resnet_50 compute graph ,
and then I reload graph and restore weights from checkpoint.
Finally, I use tf.saved_model to save and everything is ok. I have no error or trouble.
I write client code for it , here:
In client code , first I read a image into numpy.array,
then convert data of image to [1, 64, 64 ,3] dtype=float32, and convert numpy to list .
Finally, send a requests like code and show all result.
the result is always is:
The text was updated successfully, but these errors were encountered: