I'm working on inference with batch images, when I try to pass this batch of images with the function
results = sess.run(output_operation.outputs[0],
new FeedItem(input_operation.outputs[0], nd));
where nd is the image batch
I get this error
System.NullReferenceException: 'Object reference not set to an instance of an object.
is the problem with the run function or the model input that with this format type:float32[?,128,128,3]
Sorry for reply so late, it is wrong that the shape of the input is float32[?, 128, 128, 3], if you could please provide a minimal example code for reproduction, we can help you to solve the problem.
Description
Hello,
I'm working on inference with batch images, when I try to pass this batch of images with the function
where nd is the image batch I get this error
System.NullReferenceException: 'Object reference not set to an instance of an object.
is the problem with the run function or the model input that with this format type:float32[?,128,128,3]
thanks
Alternatives
No response