Closed wonlp closed 10 months ago
Hi, given a feature map visual, the snippet is as follows:
plt.figure(dpi=300)
visual = torch.mean(visual, dim=1)
plt.imshow(visual.squeeze(0).detach().cpu().numpy())
plt.axis('off')
plt.show()
ok, I got it. Thank you.
hello, I want to draw a middle feature map same as the Figure 2. Could you tell me how to draw it? Thank you!