Giter Club home page Giter Club logo

Comments (9)

stared avatar stared commented on August 29, 2024
  • Which metrics do you keep track of?
  • Did you try using plot_extrema=False? (To see if it is a problem with plotting extrema or everything).

from livelossplot.

mjkvaak avatar mjkvaak commented on August 29, 2024

I was tracking only accuracy:

model.compile(optimizer = RMSprop(),
                           loss = 'categorical_crossentropy',
                           metrics = ['accuracy'])

I haven't tried plot_extrema=False (if it is not a default option). I can try this later and let you know what's the result. It seems that this problem is not only together with ReduceLROnPlateau() but also happened with LearningRateScheduler().

from livelossplot.

mjkvaak avatar mjkvaak commented on August 29, 2024

Hi again, sorry for the delayed answer. I experimented with plot_extrema=False in PlotKerasLosses() and can confirm that now everything works as it should.

from livelossplot.

stared avatar stared commented on August 29, 2024

@mjkvaak thank you for testing that.

I think there is an issue with metrics containing an underscore.

@sebastienlange - could you look it, since you introduced 6e7892c ?

from livelossplot.

sebastienlange avatar sebastienlange commented on August 29, 2024

Hi, sorry for the late reply.
Indeed, I can reproduce it, at least partially. I'll take more time soon to try figure it out.

from livelossplot.

stared avatar stared commented on August 29, 2024

@mjkvaak Does it work at 0.4.1?

from livelossplot.

mjkvaak avatar mjkvaak commented on August 29, 2024

@stared Nope, the same KeyError: 'lr' still persists at version 0.4.1 :/.

from livelossplot.

stared avatar stared commented on August 29, 2024

@mjkvaak So, I tried to fix that with 96c4085.
I don't have the full code, so it is not tested.

But if you uninstall and install livelossplot for this repo (update does not work, as it is still 0.4.1), it may help. I would be grateful for feedback on that.

It is a quick fix - in general, the extrema stuff need to be rewritten. But for now, it should work.

from livelossplot.

stared avatar stared commented on August 29, 2024

The new release 0.5.0 should solve the problem. Metrics grouping was rewritten thoughtfully and is now much more configurable.

@mjkvaak and @sebastienlange - let me know it if works now.

from livelossplot.

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.