addons icon indicating copy to clipboard operation
addons copied to clipboard

F1Score is not working with sparse labels

Open markub3327 opened this issue 3 years ago • 0 comments

Hello,

I tried to use F1Score metrics instead of accuracy during training. I get an error with incompatible shapes because I used sparse_categorical_crossentropy and my labels are sparsely defined.

Please can I or you implement a sparse version of F1Score?

Thanks. Have a nice day.

markub3327 avatar Jan 29 '22 12:01 markub3327