Closed MichaelMonashev closed 5 years ago
Do you mean the csv contains no path to a mask, or it contains a path to a mask, but the mask itself is all zeros?
First. All rows in csv file looks like this row:
/data/imgs/img_002.jpg,22,5,89,84,bird,
Ah okay, I agree we could do with a nicer error check for that. Would you mind adding it and submitting a PR?
I think better way don`t calculate mask loss function.
Closing, since there doesn't appear to be an issue with the code here.
When csv file do not contain any mask, this error rising: