Shuaizhang7 / AttentionGAN-for-Cloud-removal

This is the official code of the paper "Cloud removal using SAR and optical images via attention mechanism-based GAN"
9 stars 1 forks source link

关于psnr,ssim,rmse指标 #2

Open 123eye opened 2 months ago

123eye commented 2 months ago

请问一下,你这个论文中的指标的公式是怎么算出来的,为什么我通过公式计算的指标的指数很超级低,但是去云的效果从肉眼来看是可以的,但是指标数达不到论文中的数,是有其他的什么计算公式吗

Shuaizhang7 commented 2 months ago

我添加了计算指标的metrics.py文件,你可以参考一下。我觉得指标有差异更大的可能性是因为用的数据集不同,写这篇论文的时候,由于计算资源不足,我只选取了SEN12MS-CR数据集里的部分数据。

123eye commented 2 months ago

我用了您新添加的metricd.py文件后,计算出来的指标和我之前计算的差不多,都是超级低,可能是我用了全部数据集的关系?我改了训练的轮数,减少到了20轮,和这个的关系大吗

------------------ 原始邮件 ------------------ 发件人: "Shuaizhang7/AttentionGAN-for-Cloud-removal" @.>; 发送时间: 2024年7月30日(星期二) 晚上8:41 @.>; @.**@.>; 主题: Re: [Shuaizhang7/AttentionGAN-for-Cloud-removal] 关于psnr,ssim,rmse指标 (Issue #2)

我添加了计算指标的metrics.py文件,你可以参考一下。我觉得指标有差异更大的可能性是因为用的数据集不同,写这篇论文的时候,由于计算资源不足,我只选取了SEN12MS-CR数据集里的部分数据。

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Shuaizhang7 commented 2 months ago

你的指标大概多少呢?用了全部数据集指标肯定会低。

123eye commented 2 months ago

20左右