-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Strange visualization of the log during the test #8930
Comments
Dear @utrobinmv, Would you mind opening providing a reproducible script using the boring_model: https://github.com/PyTorchLightning/pytorch-lightning/blob/master/pl_examples/bug_report_model.py It is unlikely we would be able to help otherwise. Best, |
this is similar : #8887 |
This is due to the precision in float32 vs float64: print(torch.tensor([0.8403041825095058], dtype=torch.float32).item())
# 0.8403041958808899
print(torch.tensor([0.8403041825095058], dtype=torch.float64).item())
# 0.8403041825095058 |
I believe @SkafteNicki provided an answer and unfortunately, there is nothing we can do unless recommending you to use Closing this issue. |
🐛 Bug
Hello,
in module 'test_epoch_end' I calculate the final metric
but after getting the output, I found that the accuracy of the data written to the log differs from the original value
Result
console output:
score 0.8403041825095058 != 0.8403041958808899
I think I can draw the wrong conclusion from such an error in the results?
pytorch-lightning==1.4.1
torch==1.9.0
The text was updated successfully, but these errors were encountered: