Closed bigrobinson closed 5 years ago
@bigrobinson by negative examples you mean images with no labels? Do you have entire batches of images with no labels?
We've trained with empty images, but not whole batches of empty images I believe.
No you are correct, the test set is not shuffled, as it would not affect the result.
@glenn-jocher yes I do mean images with no labels, and yes I have entire batches of images with no labels.
@bigrobinson this is a new use case we haven't seen before. If you managed to debug your issue please submit a PR. Otherwise we will leave this issue open until we implement a fix, though I can't provide you a timeline, since being the only user reporting the error it will be low on the priority list.
@bigrobinson I think this issue should be resolved now, as we've been training a custom dataset with many (about a thousand) negative example images tagged onto the end, and like you said test.py does not randomly shuffle, and we get no errors.
Though we haven't actually looked into the problem, we simply don't see it on our negative datasets. In our example our negative example images don't have label files.
Description of the bug I have four classes along with negative examples, with training set about evenly split with 4000 images total, and test block also evenly split with about 500 images. (Train/test/validation split is 80/10/10 all cases.) If I exclude negative examples, it trains just fine and will calculate mAP in every epoch. When I include the negative examples, it trains but it will not calculate mAP without giving the error below:
Screen output
Steps to reproduce the behavior:
Expected behavior I expect it to train for 272 epochs and track the mAP for each epoch
Desktop: