tensorflow-object-contour-detection icon indicating copy to clipboard operation
tensorflow-object-contour-detection copied to clipboard

NumPy Predictions Visualizations

Open rubeea opened this issue 5 years ago • 2 comments

Hi,

After running the eval.py file the final predictions are saved as numPy arrays using the code statement: np.save(FLAGS.save_preds+l,P)

My question is how should we visualize these predictions in images?

Thanks in advance

rubeea avatar Jan 14 '20 08:01 rubeea

Read the NumPy array using: np.load then save it using cv2.imwrite

gr8Adakron avatar Feb 06 '20 07:02 gr8Adakron

I have the same problem, and the stored NumPy array is 4D finally.(Is this correct?) I tried to convert it to an image and store, but it does not work. Hope to get answers, thx.

Leerysgo avatar Nov 22 '21 14:11 Leerysgo