-
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
WandbLogger does not log test results #1220
Comments
@borisdayma @colehurwitz @calclavia pls ^^ |
@Borda I think it's due to the finalize method closing the run with wandb.join. I'm not completely familiar with the typical use case but a possible solution would be to remove it from the callback. |
@chris-clem can you confirm that this proposed fix solves the issue? If so then related PR should fix it. |
also discussed in #1116 and a fix in #1193 |
The PR looks good to me! |
The fix works, thanks! |
🐛 Bug
The WandbLogger does not log test results when testing happens right after training.
To Reproduce
When running the MNIST example with the WandbLogger like in the following snippet, the test results do not get logged to wandb because it syncs before testing starts:
Code sample
Expected behavior
WandbLogger should also log the test results by default like TensorBoardLogger or TestTubeLogger to be a real alternative for the other loggers.
Environment
The text was updated successfully, but these errors were encountered: