Replies: 3 comments 3 replies
-
@kaicao
|
Beta Was this translation helpful? Give feedback.
-
@kaicao |
Beta Was this translation helpful? Give feedback.
-
Your input seems to be a scalar, the shape should be
But it looks like your model is not able to read image file, do you have python code that can run inference of your model? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've trained a model based on tensorflow/models (with 2.7.0 TensorFlow) ssd_mobilenet_v2_coco.config
By showing the signature of it, it requires one STRING typed input for "serialized_sample":
Thus when I used the DJL (version 0.14.0) to load the model and use SingleShotDetetionTranslator for prediction, and providing Image like
Image image = BufferedImageFactory.getInstance().fromFile(file);
It ends up error when predict on the image
Expects arg[0] to be string but float is provided
.Any advice how could it work?
Beta Was this translation helpful? Give feedback.
All reactions