Raj-08 / tensorflow-object-contour-detection

A tensorflow implementation of object-contour-detection with fully convolutional encoder decoder network
MIT License
107 stars 40 forks source link

NumPy Predictions Visualizations #15

Open rubeea opened 4 years ago

rubeea commented 4 years ago

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

gr8Adakron commented 4 years ago

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

Leerysgo commented 2 years ago

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.