Coder Social home page Coder Social logo

Comments (9)

sachinprasadhs avatar sachinprasadhs commented on May 18, 2024 1

@t-kalinowski , I just updated the latest release tag in the landing page

from keras.

fchollet avatar fchollet commented on May 18, 2024

Any advice on what may be causing the issue? Let me know if there is any information that I can provide to help troubleshoot the issue.

This code is known to work, so it's likely a bad initialization. Some common steps you can take:

  • Just restart and try again (with a different random seed)
  • Lower the learning rate by 2x
  • Lower dropout rate (0.5 -> 0.25)

from keras.

t-kalinowski avatar t-kalinowski commented on May 18, 2024

@fchollet I am able to reproduce this. I haven't had a chance to dig into the root cause yet, but I can confirm that this is a bug in Keras 3; the same code produces a model that trains just fine w/ TF 2.15 + Keras 2.

from keras.

fchollet avatar fchollet commented on May 18, 2024

Looking into it.

from keras.

fchollet avatar fchollet commented on May 18, 2024

I have fixed a related issue with dataset shuffling. Can you try installing v3.3.3 and checking if your code works with that version?

from keras.

t-kalinowski avatar t-kalinowski commented on May 18, 2024

Thanks! Looks like it's fixed now. I can confirm the model trains fine with Keras v3.3.3
image

from keras.

jonbry avatar jonbry commented on May 18, 2024

Looks like v3.3.3 fixed the issue. Thanks for all of your help!

from keras.

google-ml-butler avatar google-ml-butler commented on May 18, 2024

Are you satisfied with the resolution of your issue?
Yes
No

from keras.

t-kalinowski avatar t-kalinowski commented on May 18, 2024

By the way, just noticed that github release tagged v3.3.3 has a typo in the title (Kears vs Keras): Kears 3.3.3

Maybe this is the reason v3.3.2 is still listed as the "latest release" on the repo landing page?

from keras.

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.