YudeWang / SEAM

Self-supervised Equivariant Attention Mechanism for Weakly Supervised Semantic Segmentation, CVPR 2020 (Oral)
MIT License
542 stars 97 forks source link

Confused about the code: "cam = np.flip(cam, axis=-1)" #36

Open Dreamupers opened 2 years ago

Dreamupers commented 2 years ago

https://github.com/YudeWang/SEAM/blob/c55601649c5fa676836d3ec70ec044541b7d1d83/infer_SEAM.py#L64 Could you explain why the code need flip operation in the lines 64? Several papers hava also used this operation. Thank you!