-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Question regarding ProgressPrinter #139
Comments
Oh! I found the solution for now. I have to give in the data when the learner is constructed, so do: learner = Learner(model, loss; optimizer=opt, callbacks=[ToGPU()], usedefaultcallbacks=true, data=(dl, dl_val))
FluxTraining.fit!(learner, epochs)
# where dl, dl_val are both Flux.DataLoader objects Somehow non-intuitive. |
Hi Noel! You can print the callbacks on a There are two ways of passing in data:
Are you saying that in the latter case, the |
Yes, exactly that. :) |
It seems like this line does not work as I would expect it to.
It seems like it always returns nothing , in the case where data is passed to .fit!()
|
Will look into it and let you know. Thanks for reporting the issue 👍 |
Hi first off: wonderful package :)
I have some issues with the ProgressPrinter not showing up even when using the defaultcallbacks.
Do I need to do something specific when constructing the Learner which I have missed? From the code it seems like I would need to give it a Progress object, do I have to construct that myself? What requirements does my data-iterator have to fullfill to show up with the defaultcallbacks?
The text was updated successfully, but these errors were encountered: