What should I do? Should I proceed with num_classes=2? If yes, then how to write custom dataset, more specifically, should I set target["label"] to 0 or 1? (Actually tested everything that i proposed, however It didn't actually train (poor performance))
I am trying to finetune single class object detection model without segmentation (just predict boxes/scores). I was following this tutorial.
So, I create model like this:
Then, when I test on some random image:
I get following output:
What should I do? Should I proceed with num_classes=2? If yes, then how to write custom dataset, more specifically, should I set target["label"] to 0 or 1? (Actually tested everything that i proposed, however It didn't actually train (poor performance))