about visualization on attention maps
amiltonwong opened this issue · comments
amiltonwong commented
Hi, @XiaLiPKU ,
Could you also provide the code for visualizing on attention maps, like the responses Z in Fig.5?
THX!
Xia Li 李夏 commented
cv2.imwrite(z[0, 0].cpu().numpy().reshape(h, w))
zhudahui commented
@amiltonwong
Did you succeed?
valueError: cannot reshape array of size 64 into shapec(43,26)
thanks