-
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
Training accuracy #57
Comments
you can use hooks https://williamfalcon.github.io/pytorch-lightning/Trainer/hooks/ there's a typo in that doc... but you're looking for on_epoch_end |
Thanks but I'm having some difficulties. |
@lorenzoFabbri Did you figure out how to do this? I am also trying to do this but don't know how... |
Hi. I actually decided not to use this library for that project. So I cannot help you! |
@lorenzoFabbri Thanks a lot for the fast response! |
@lorenzoFabbri Do you have any suggestion for replacement? |
@Yevgnen Hi. I haven't use this library in a long time! Perhaps thins have changed in the meanwhile so I cannot really help you. I plan on giving it another try in the next few weeks, though. |
@lorenzoFabbri Thanks for quick reply! May I ask which library you are using?😅 |
we introduced a full callbacks system now! give it a shot. you can calculate the accuracy on epoch_end. we’re also about to introduce: also, FYI: we now support TPUs and have a built in performance profiler |
@Yevgnen I actually used plain PyTorch. I didn't have to do fancy things, so I wrote my own functions for training and testing. |
I was wondering whether there is something like
validation_end
but for training (e.g.,training_end
). I want to compute the training accuracy at the end of each epoch. Thanks!The text was updated successfully, but these errors were encountered: