Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing example code for CategoricalCrossentropy in losses.py file #20523

Merged
merged 1 commit into from
Nov 20, 2024

Conversation

tilakrayal
Copy link
Collaborator

The example mentioned for the Keras API CategoricalCrossentropy was failing with the error AttributeError: 'list' object has no attribute 'shape'.

@codecov-commenter
Copy link

codecov-commenter commented Nov 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.10%. Comparing base (660da94) to head (8125c3d).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #20523   +/-   ##
=======================================
  Coverage   82.10%   82.10%           
=======================================
  Files         515      515           
  Lines       47790    47790           
  Branches     7486     7486           
=======================================
  Hits        39238    39238           
  Misses       6738     6738           
  Partials     1814     1814           
Flag Coverage Δ
keras 81.95% <ø> (ø)
keras-jax 65.04% <ø> (ø)
keras-numpy 60.02% <ø> (ø)
keras-tensorflow 66.03% <ø> (ø)
keras-torch 64.96% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@google-ml-butler google-ml-butler bot added kokoro:force-run ready to pull Ready to be merged into the codebase labels Nov 20, 2024
@fchollet fchollet merged commit c802ca6 into keras-team:master Nov 20, 2024
7 checks passed
@google-ml-butler google-ml-butler bot removed ready to pull Ready to be merged into the codebase kokoro:force-run labels Nov 20, 2024
wang-xianghao pushed a commit to wang-xianghao/keras-dev that referenced this pull request Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants