-
-
Notifications
You must be signed in to change notification settings - Fork 609
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
Use ProgressMeter to print current loss #1146
Conversation
AStupidBear
commented
Apr 25, 2020
•
edited
Loading
edited
That would remove the dependency on Juno, which I'm led to believe was only added for @progress. Is that so @MikeInnes ? |
Line 26 in 134ac15
Juno is still used there to print trees |
I think something like this would be useful, although I don't think we can accept a PR that tries to do a number of different things at once. I would prefer not to lose the Juno integration; does Juno work with ProgressMeters at this point? |
Although the behavior is slightly different, TerminalLoggers.jl might be the right tool; it uses the same API setting as Juno: ProgressLogging |
@johnnychen94 @MikeInnes I added progressive loss printing for DiffEqFlux.sciml_train before, but that's not as pretty as this PR with ProgressMeter.jl. See JuliaLogging/ProgressLogging.jl#23 |
@MikeInnes Now only the printing part is reserved. Can I say this PR now only do one thing? |
This PR is also adding an extra for loop over the |
Now the loop over |
I like ProgressMeter, but we would be losing Juno support. Is there a way we can have both? |
Added back! |
To be honest, this is a fair bit of extra complexity when our I suspect it would be better to experiment with more powerful training loops in a separate package, rather than adding feature after feature to Flux proper (bearing in mind we are constrained by stability). That would give you a lot of flexibility to experiment, and as the design evolves we can consider whether it's time to make it official. Of course, I think if we could simply make |
Close in favor of https://github.com/AStupidBear/DistributedFlux.jl |