Closed Jun-CEN closed 4 years ago
anchor size is agnostic to categories, so we need to predict probability of being any one of all categories in this head.
Hello in the same code what does num_dir = num_a * 2
mean? Aren't the 2 different orientations already encapsulated in self.num_anchor_per_locs = [2 * n for n in num_classes]
?
So for 1 class why are 4 directions needed?
The code is about class MultiGroupHead which is in Det3D/det3d/models/bbox_heads/mg_head.py
Original code
For example, if task is like this:
Then num_classes will be 2, and num_anchor_per_locs will be 4. Finally, num_cls will be 2*4=8. I am wondering what does this 8 represents? If we only consider 2 different orientations of anchor for one class, the total number of anchors should be same as num_anchor_per_locs, why do we still need to multiply num_anchor_per_locs by num_classes?