ValueError: (F1Score|FBetaScore) expects 2D inputs with shape (batch_size, output_dim). #19716
Labels
stale
stat:awaiting response from contributor
type:support
User is asking for help / asking an implementation question. Stackoverflow would be better suited.
@tilakrayal
I will show the pip list installed so my code would work in TF 2.16.1. I know I was running into an issue with
datasets
and had to downgrade.See also https://www.kaggle.com/datasets/gdataranger/tf2-16-requirements-txt
Please find the zipfile from my 'Colab Notebooks' drive folder + data which I ran on Colab directly.
https://github.com/msusol/kaggle/blob/main/competition-20240410T165614Z-001.zip (28MB > 25MB allowed here)
Originally posted by @msusol in keras-team/tf-keras#771 (comment)
The text was updated successfully, but these errors were encountered: