Open liuw20 opened 5 months ago
Hi, you can visualize the heatmap with the following steps:
normed_feature = (feature.max() - feature) / (feature.max() - feature.min())
vis = (0.5 * image + 0.5 * rgb_map).astype(np.uint8)
The above steps are used to visualize intermediate feature maps. However, it's easier and more straightforward to visualize the small object detection heatmap. You can skip the first two steps and use the sigmoid
result as the normalized map.
请问你解决了吗?