Not able to vizualize the prediction
#1
by
farhan9801
- opened
I'm struggling to visualize the predictions generated by this line of code:
predictions = model.predict(tf.expand_dims(image, 0))
I've invested significant time attempting to understand how to visualize the results, but I keep encountering this error:
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (3, 1) + inhomogeneous part.
Could someone kindly assist me in resolving this issue?