Coder Social home page Coder Social logo

Comments (6)

fchollet avatar fchollet commented on May 18, 2024 1

Thanks for the report. This should be fixed in the latest Keras release (3.3.0), please check.

from keras.

fchollet avatar fchollet commented on May 18, 2024

Do you have a code snippet to reproduce the issue?

from keras.

proneetsharma avatar proneetsharma commented on May 18, 2024

To reproduce the issue, you can run the training script available here. Despite using a custom model and metrics in this scenario, the problem persists even when employing Keras inherited metrics such as keras.metrics.BinaryAccuracy().

For clarity, Keras inherited metrics were utilized in the provided description. The issue does not seem to be related to custom loss metrics, as Keras 3 expects a function in the form of result = fn(y_true, y_pred), which our metric fulfills. It appears to be specifically related to the type of metrics used for the single output case.

The script requires two additional installations:

  • pip install pypaz --user
  • pip install fiftyone

Steps to run:

  1. python download_openimagesV6.py
  2. python train.py

The training script works fine with keras2.

from keras.

proneetsharma avatar proneetsharma commented on May 18, 2024

Thank you @fchollet !

from keras.

SuryanarayanaY avatar SuryanarayanaY commented on May 18, 2024

Hi @proneetsharma ,

Please feel free to close the issue if resolved. Thanks!

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.

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.