Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

an error in data augment? #18

Closed
Keysmis opened this issue Oct 16, 2019 · 4 comments
Closed

an error in data augment? #18

Keysmis opened this issue Oct 16, 2019 · 4 comments

Comments

@Keysmis
Copy link

Keysmis commented Oct 16, 2019

I think you have a mistake in data_augment.py preproc ruction.
image
maybe you should multiply the resize_size??

@hegc
Copy link

hegc commented Oct 16, 2019

boxes_t[:, 0::2] = boxes_t[:, 0::2] * (self.img_dim / width) / self.img_dim, so the self.img_dim is reduced.

@SnowRipple
Copy link

@biubug6
A little of-topic.. Can you described the meaning behind "min_sizes" and "steps" in config please? What would be the reason for modifying them?

@biubug6
Copy link
Owner

biubug6 commented Oct 16, 2019

"min_sizes" is anchor size on different scales, "steps" is downsampling rate of feature map. I don't modify them?

@biubug6 biubug6 closed this as completed Oct 16, 2019
@SnowRipple
Copy link

@hegc Sorry. maybe I'm missing something but both boxes and landmarks are normalized with width and height of the image before resizing, why?
Since height and width change after resizing shouldn't they be normalized with width and height after resizing?

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

No branches or pull requests

4 participants