ShadowFormer
ShadowFormer copied to clipboard
ShadowFormer (AAAI2023), Pytorch implementation
Excuse me, I would like to ask how to add an attention heatmap. Could you provide the relevant code?
Thank you for your excellent work. How were the images preprocessed and augmented on the ISTD dataset? Specifically, how were scaling and random cropping configured?
In `test.py`, at line 147, the RMSE (MAE) calculation includes a multiplication by 3: ```python rmse_temp = np.abs(cv2.cvtColor(rgb_restored, cv2.COLOR_RGB2LAB) - cv2.cvtColor(rgb_gt, cv2.COLOR_RGB2LAB)).mean() * 3 ``` Could you explain the reasoning...