Giter Club home page Giter Club logo

Comments (10)

lorenzoFabbri avatar lorenzoFabbri commented on May 5, 2024 5

Thanks but I'm having some difficulties.
If I save the accuracy from each training step, how can I compute the average accuracy? on_epoch_end does not take anything as input, so I cannot write something similar to validation_end. Thanks.

from lightning.

williamFalcon avatar williamFalcon commented on May 5, 2024 3

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:
on_training_epoch_end.

also, FYI: we now support TPUs and have a built in performance profiler

from lightning.

williamFalcon avatar williamFalcon commented on May 5, 2024 2

you can use hooks
(on_epoch_end)

https://williamfalcon.github.io/pytorch-lightning/Trainer/hooks/

there's a typo in that doc... but you're looking for on_epoch_end

from lightning.

lorenzoFabbri avatar lorenzoFabbri commented on May 5, 2024 2

Hi. I actually decided not to use this library for that project. So I cannot help you!

from lightning.

expectopatronum avatar expectopatronum commented on May 5, 2024

@lorenzoFabbri Did you figure out how to do this? I am also trying to do this but don't know how...

from lightning.

expectopatronum avatar expectopatronum commented on May 5, 2024

@lorenzoFabbri Thanks a lot for the fast response!

from lightning.

Yevgnen avatar Yevgnen commented on May 5, 2024

@lorenzoFabbri Do you have any suggestion for replacement?

from lightning.

lorenzoFabbri avatar lorenzoFabbri commented on May 5, 2024

@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.

from lightning.

Yevgnen avatar Yevgnen commented on May 5, 2024

@lorenzoFabbri Thanks for quick reply! May I ask which library you are using?πŸ˜…

from lightning.

lorenzoFabbri avatar lorenzoFabbri commented on May 5, 2024

@Yevgnen I actually used plain PyTorch. I didn't have to do fancy things, so I wrote my own functions for training and testing.

from lightning.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.