Open EricaHattman opened 11 months ago
The visualization code is simple via matplotlib. There are only two lines of code are required:
plt.imshow(img)
plt.imshow(anomaly_score_map, cmap='jet', alpha = 0.4)
where img
refers to the input image of the product, and anomaly_score_map
is the predicted score.
Thanks for your reply, it helps me a lot!^_^
Thanks for your reply, it helps me a lot!^_^ How is visualization implemented specifically? I don't know where the code should be placed. T_T
Could you please advise on how to implement the visualization for anomaly score maps in the paper? Or may I get this part of code if is possible?