You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AttributeError raised: 'list' object has no attribute 'dtype' when running the official example of SparseCategoricalAccuracy, TopKCategoricalAccuracy, SparseTopKCategoricalAccuracy
#19709
Closed
Star9daisy opened this issue
May 11, 2024
· 2 comments
Star9daisy
changed the title
AttributeError raised: 'list' object has no attribute 'dtype' when running the official example of SparseCategoricalAccuracy
AttributeError raised: 'list' object has no attribute 'dtype' when running the official example of SparseCategoricalAccuracy, TopKCategoricalAccuracy, SparseTopKCategoricalAccuracy
May 11, 2024
After checking all examples listed on Accuracy metrics, there exists the same error for SparseCategoricalAccuracy, TopKCategoricalAccuracy, SparseTopKCategoricalAccuracy.
They share the same codes in the their own functions as following:
Hi developers.
When I follow the example of
SparseCategoricalAccuracy
, an AttributeError is raised. Here's the code:The text was updated successfully, but these errors were encountered: