focal-tversky-unet icon indicating copy to clipboard operation
focal-tversky-unet copied to clipboard

ValueError: continuous format is not supported

Open YZafar opened this issue 4 years ago • 1 comments

results i,m trying to run the code using ISIC 2018 dataset, i,m getting the following error:

File "C:\Users\LaeeqAhmed.spyder-py3\isic_train.py", line 146, in precision, recall, thresholds = precision_recall_curve(y_true, y_preds)

File "C:\Users\LaeeqAhmed\anaconda3\envs\tensorflow\lib\site-packages\sklearn\metrics_ranking.py", line 673, in precision_recall_curve sample_weight=sample_weight)

File "C:\Users\LaeeqAhmed\anaconda3\envs\tensorflow\lib\site-packages\sklearn\metrics_ranking.py", line 536, in _binary_clf_curve raise ValueError("{0} format is not supported".format(y_type))

ValueError: continuous format is not supported

plz guide me what am i doing wrong here Regards,

YZafar avatar Apr 17 '20 10:04 YZafar

Hello, same error. maybe it is the version problem? Another issue is about this problem, you can see it. Have you solved this problem?

Halleyawoo avatar Aug 24 '20 11:08 Halleyawoo