pooya-mohammadi / yolov5-gradcam

Visualizing Yolov5's layers using GradCam

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

heatmap visualization of the whole picture

zhaoxuyan opened this issue · comments

Thanks for your brilliant work!
How can I get a heatmap visualization of the whole picture? Please don't just visualize the box part?

Maybe just change this line

n_heatmat = (Box.fill_outer_box(heatmap, bbox) / 255).astype(np.float32)

in this way:
n_heatmat = (heatmap / 255).astype(np.float32)