Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Accounting for varying object size in images of constant size #220

Open
ashnair1 opened this issue May 9, 2019 · 1 comment
Open

Accounting for varying object size in images of constant size #220

ashnair1 opened this issue May 9, 2019 · 1 comment

Comments

@ashnair1
Copy link

ashnair1 commented May 9, 2019

This issue is somewhat related to #86. I understand that TRAIN.SCALES parameter allows us to show the scaled version of the image to the model. My question is will this also work in the case where object sizes vary but image size is constant?

In my case, the size of images is mostly consistent (1024 x 1024). But the sizes of my objects of interest can vary from 8x8 pixels to 128 x 128 pixels. Should I change the FPN.RPN_ANCHOR_START_SIZE to start from 8 or should I modify the set of TRAIN.SCALES or perhaps both?

@ashnair1 ashnair1 changed the title Accounting for varying object size in images Accounting for varying object size in images of constant size May 9, 2019
@ZY-Zeng
Copy link

ZY-Zeng commented Aug 14, 2020

This issue is somewhat related to #86. I understand that TRAIN.SCALES parameter allows us to show the scaled version of the image to the model. My question is will this also work in the case where object sizes vary but image size is constant?

In my case, the size of images is mostly consistent (1024 x 1024). But the sizes of my objects of interest can vary from 8x8 pixels to 128 x 128 pixels. Should I change the FPN.RPN_ANCHOR_START_SIZE to start from 8 or should I modify the set of TRAIN.SCALES or perhaps both?

Thank you for your answer. The size of image in my data is 1200 * 1600. And an assert error has been appeared which is len(roidb) == len(acched_roidb). How can I resolve this problem. Thank you very very much!!!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants