Comments (6)
Thanks for the report. This should be fixed in the latest Keras release (3.3.0), please check.
from keras.
Do you have a code snippet to reproduce the issue?
from keras.
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:
python download_openimagesV6.py
python train.py
The training script works fine with keras2.
from keras.
Thank you @fchollet !
from keras.
Hi @proneetsharma ,
Please feel free to close the issue if resolved. Thanks!
from keras.
Are you satisfied with the resolution of your issue?
Yes
No
from keras.
Related Issues (20)
- LSTM layer with dropout does not use fast CuDNN implementation in Keras 3 HOT 1
- RaggedTensor HOT 4
- [Proposal] API tuning for use_cudnn in LSTM/other layers HOT 5
- The torch backend for jnp.cholesky should use torch.linalg.cholesky, not torch.cholesky HOT 1
- Numeric diff of BatchNormalization layer when migrate from Keras2 to keras3 HOT 5
- How to save Scikit-Learn-Keras Model into a Persistence File (pickle/hd5/json/yaml) with Keras 3 HOT 13
- loss and val_loss decreasing HOT 1
- StringLookup does not return expected dtype for multi_hot HOT 1
- TypeError: Could not locate class 'adam'. Make sure custom classes are decorated with `@keras.saving.register_keras_serializable()` HOT 1
- Shape error for some use cases of `binary_crossentropy`. HOT 3
- ops.copy makes object (arrays only?) immutable HOT 1
- Regression: Cannot export model with bilinear UpSampling2D and dynamic inputs HOT 1
- TextVectorization does not convert Cyrillic characters to lowercase HOT 2
- TypeError when loading Keras 2 legacy models with nested outputs in Keras 3 HOT 2
- Have the plan to support fp8 inference? HOT 6
- JAX array conversion failure in Keras model prediction HOT 3
- On JAX, Keras replaces any exception inside `call` method of `keras.Model` subclass with misleading error HOT 2
- To Keras community: What interpretations do you have for these curves? HOT 3
- No module named 'keras.src.engine' HOT 7
- Feature request: keras.ops.linalg.lstsq HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from keras.