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
Describe the bug
at the moment if there is no object detected in an image at a particular obj_threshold, then get_boxes throws the following error:
"Error: nm must be NULL or a character vector the same length as 'x'"
this is because the fixed name array given to set_names in clean_boxes is not the same length as the values array (there are no coordinates available for that particular image).
#line 172 of yolo3_predict.R
I suggest subsetting out the 'empty' images between lines 32 and 33 to treat them separately (return "none" label for example?)
The text was updated successfully, but these errors were encountered:
Describe the bug
at the moment if there is no object detected in an image at a particular obj_threshold, then get_boxes throws the following error:
"Error:
nm
must beNULL
or a character vector the same length as 'x'"this is because the fixed name array given to set_names in clean_boxes is not the same length as the values array (there are no coordinates available for that particular image).
#line 172 of yolo3_predict.R
I suggest subsetting out the 'empty' images between lines 32 and 33 to treat them separately (return "none" label for example?)
The text was updated successfully, but these errors were encountered: