rwightman/efficientdet-pytorch

Varrying Feature sizes for Anchors

jaideep11061982 opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
In Anchors.py
Currently for all the levels we build the feature size as below

``def get_feat_sizes(image_size: Tuple[int, int], max_level: int): """Get feat widths and heights for all levels. Args: image_size: a tuple (H, W) max_level: maximum feature level. Returns: feat_sizes: a list of tuples (height, width) for each level. """ feat_size = image_size feat_sizes = [feat_size] for _ in range(1, max_level + 1): feat_size = ((feat_size[0] - 1) // 2 + 1, (feat_size[1] - 1) // 2 + 1) feat_sizes.append(feat_size) return feat_sizes
Is itpossile to build features of varying size like //2,//3//4 etc . like in Yolo

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.