Spaces:
Running
Running
fix: error when precision_score return float
#2
by
Cesaryuan
- opened
When precision_score()
returns float, score.size
will throw an error AttributeError: 'float' object has no attribute 'size'
I am also getting the same error message. How to fix this? Even the test example provided for running precision does not work