zhengchen1999 / DAT

PyTorch code for our ICCV 2023 paper "Dual Aggregation Transformer for Image Super-Resolution"
Apache License 2.0
350 stars 27 forks source link

PSNR计算指标问题 #49

Closed qianchentao9 closed 23 hours ago

qianchentao9 commented 3 days ago

我想问下您是如何计算PSNR值的

qianchentao9 commented 3 days ago

我用python计算和您的结果不一样

zhengchen1999 commented 3 days ago

您的结果是多少?

PS:在YCbCr空间,Y通道上测试,且需要去除周围几个像素(和之前方法的测试设置一致)

qianchentao9 commented 23 hours ago

按照你的方法来,结果就对了,谢谢