Wrong PSNR value by the in-place operator?
See original GitHub issueHi, @apchenstu
Thank you for sharing this really great idea! It’s very helpful for me to develop other ideas related to Radiance Fields.
By the way, I just notice that you might have wrong PSNR value by the in-place operator(+=).
You’ve assigned the image loss variable loss
to total_loss
, and then increase it with the +=
operator.
It will modify the original image loss loss
variable resulting in wrong PSNR; in fact, smaller than the true value.
You can check this at my colab.
Thank you, Sangmin Kim.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:6
Top Results From Across the Web
python - Incorrect results for PSNR calculation - Stack Overflow
Example luma PSNR values for a cjpeg compressed image at various quality levels. The PSNR is not calculated for the whole RGB image...
Read more >ImageBufAlgo: Image Processing - OpenImageIO 2.4
The function is passed a destination ImageBuf where the results will be stored, and the return value is a bool that is true...
Read more >PSNR graph for different Speckle noise level and algorithms
The PSNR, MSE, SSIM, and SNR values of the de-noised images are calculated and a comparative analysis is performed with the conventional de-noising...
Read more >Noise2Noise: Learning Image Restoration without Clean Data
bad images into good images by only looking at bad images, ... PSNR values refer to the images shown here, see text for...
Read more >How to solve the error in PSNR function? - MATLAB Answers
Just like the error message says, psnr() does not take that many input arguments. You passed in 4 and it can take only...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi, @Derry-Xing Yes, it is not related to the quality of the output images but only for the output PSNR values. I just want to check the reported PSNR at the paper is correct.
Yes it seems good,
But i think you can just change the in-place operator; i.e. total_loss = total_loss + …