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
when excute the run_testing.py ,i have a problem,it said ======== Evaluate the results ======================= Calculating results only inside the FOV: y scores pixels: 2429685 (radius 270: 270*270*3.14==228906), including background around retina: 6599200 (584*565==329960) y true pixels: 2429685 (radius 270: 270*270*3.14==228906), including background around retina: 6599200 (584*565==329960) Traceback (most recent call last): File "./src/retinaNN_predict.py", line 183, in <module> precision, recall, thresholds = precision_recall_curve(y_true, y_scores) File "/home/liushixin/anaconda3/lib/python3.6/site-packages/sklearn/metrics/ranking.py", line 441, in precision_recall_curve sample_weight=sample_weight) File "/home/liushixin/anaconda3/lib/python3.6/site-packages/sklearn/metrics/ranking.py", line 318, in _binary_clf_curve raise ValueError("{0} format is not supported".format(y_type)) ValueError: continuous format is not supported
#57
Closed
ruda0214 opened this issue
Oct 16, 2018
· 2 comments
======== Evaluate the results =======================
Calculating results only inside the FOV:
y scores pixels: 2429685 (radius 270: 2702703.14==228906), including background around retina: 6599200 (584565==329960)
y true pixels: 2429685 (radius 270: 2702703.14==228906), including background around retina: 6599200 (584565==329960)
Traceback (most recent call last):
File "./src/retinaNN_predict.py", line 183, in
precision, recall, thresholds = precision_recall_curve(y_true, y_scores)
File "/home/liushixin/anaconda3/lib/python3.6/site-packages/sklearn/metrics/ranking.py", line 441, in precision_recall_curve
sample_weight=sample_weight)
File "/home/liushixin/anaconda3/lib/python3.6/site-packages/sklearn/metrics/ranking.py", line 318, in _binary_clf_curve
raise ValueError("{0} format is not supported".format(y_type))
ValueError: continuous format is not supported
anyone can give some advice?
The text was updated successfully, but these errors were encountered:
i have solved this questions, i got a mistake in file 'prepare_dataset.py',and the parameter Nimgs should be the same with the total training number of your data.
======== Evaluate the results =======================
Calculating results only inside the FOV:
y scores pixels: 2429685 (radius 270: 2702703.14==228906), including background around retina: 6599200 (584565==329960)
y true pixels: 2429685 (radius 270: 2702703.14==228906), including background around retina: 6599200 (584565==329960)
Traceback (most recent call last):
File "./src/retinaNN_predict.py", line 183, in
precision, recall, thresholds = precision_recall_curve(y_true, y_scores)
File "/home/liushixin/anaconda3/lib/python3.6/site-packages/sklearn/metrics/ranking.py", line 441, in precision_recall_curve
sample_weight=sample_weight)
File "/home/liushixin/anaconda3/lib/python3.6/site-packages/sklearn/metrics/ranking.py", line 318, in _binary_clf_curve
raise ValueError("{0} format is not supported".format(y_type))
ValueError: continuous format is not supported
anyone can give some advice?
The text was updated successfully, but these errors were encountered: