The code leverages the equation: target_lvls = torch.floor(self.lvl0 + torch.log2(s / self.s0 + self.eps)) to find the corresponding feature level for each RoI. Here self.s0 by default is 224. While in original RPN paper, the authors said that they use 224 because 224 is the canonical ImageNet pre-training size. However, if we use a different dataset with different image size (e.g., COCO), then do I need to change 224 to another value?
❓ Questions and Help
The code leverages the equation: target_lvls = torch.floor(self.lvl0 + torch.log2(s / self.s0 + self.eps)) to find the corresponding feature level for each RoI. Here self.s0 by default is 224. While in original RPN paper, the authors said that they use 224 because 224 is the canonical ImageNet pre-training size. However, if we use a different dataset with different image size (e.g., COCO), then do I need to change 224 to another value?
Thanks!