Closed junayednaushad closed 3 years ago
Hi, I think there might be a bug in
predict.py
specifically the_predict_single_image
function because I have followed the instructions on the README but all of my predictions are just 0s. On line 72pred
is set to 0, then on line 82cur_pred_patch
is set topred
socur_pred_patch
is just 0 and therefore the condition on line 91 never becomes true.
Thanks for spotting this bug. It should be output[i]
at the else part of np.where
. New commits have been pushed and it should be fixed now.
Hi, I think there might be a bug in
predict.py
specifically the_predict_single_image
function because I have followed the instructions on the README but all of my predictions are just 0s. On line 72pred
is set to 0, then on line 82cur_pred_patch
is set topred
socur_pred_patch
is just 0 and therefore the condition on line 91 never becomes true.