-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Test results not logged to tensorboard, since 0.7.3, this worked in 0.7.1 #1447
Comments
Hi! thanks for your contribution!, great first issue! |
ummm. i thought we fixed this in 0.7.3. can you post a colab to reproduce? |
Thank you so much for the quick reply. |
@WSzP we probably need also the dataset...
|
you can just use fake data generators with the right dimensions. this is just about logging anyhow |
Ok, I just changed the code to generate a random sparse matrix. Thanks for the idea. |
I think that I see the problem, it comes with introduces |
@WSzP pls try this fix
|
It works like a charm. Thank you so much @Borda. Cheers! |
Let's keep it open till the fix is merged to master... |
🐛 Bug
Test results are not logged to TensorBoard. With the exact same code, version
0.7.1
logged them flawlessly. Also, with the exact same code, validation and train results are logged. So I assumed the issue is with the test.To Reproduce
Run test() step with a model that has TensorBoard logging.
logger = TensorBoardLogger(LOG_DIR, name=NAME)
Code sample
Expected behavior
The expected behavior is for tensorboard_logs to contain the MSE, but when I open them in TensorBoard they don't contain MSE, only the val_loss and train_loss. The exact same code used to work in
0.7.1
. So I believe some changes in0.7.3
produced this bug.The print works, so the correct value is printed, but I assume there is some issue when you return 'log': tensorboard_logs.
Environment
1.4.0
Windows 10 x64
pip
n/a
3.7.7
The text was updated successfully, but these errors were encountered: