-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Effect of outScaling for prediction quality #5
Comments
Hello @codingS3b On this question front, I wanted to ask if you also trained the network with outputs = net((inputs_raw-meanTorch)/stdTorch) If both (training and prediction on Let me know in case you discover a different behavior than this. Thank you! |
Thanks for your response @MLbyML and pointing me to the training function. |
Needless to say, it |
I totally agree.
Thanks for pointing it out.
The parameter has to be set to the same value for training and prediction.
…On 8/7/20 1:11 PM, Peter Steinbach wrote:
Needless to say, it |outScaling| is a parameter for a function used
for inference, but needs to be adhered to in code for the training; I
would think this should be documented somewhere.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJDL47KH26RZUW42VPUAH3R7PONLANCNFSM4PXM2EWQ>.
|
After fiddling around with the
outScaling
parameter defined here (mainly because I did not really get the sense of it, since it apparently multiplies the predictions of the network, at least that is how I understood this part), I observed rapid changes in PSNR when changing the value from its default of 10 to e.g. 1 (which would mean the predictions are not altered).This effect is reproducable e.g. in this notebook example by changing the line
which gives an
Avg PSNR MMSE ~ 36
to thiswhich for me produced an
Avg PSNR MMSE ~ 20
.Do you have an idea on why that is happening and why a simple scaling of the prediction affects the PSNR that much? Or is the effect of the
outScaling
parameter a different one from what I think it is?The text was updated successfully, but these errors were encountered: