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

Logical error in BoxDataLayer? #31

Open
leeeeeeo opened this issue May 26, 2020 · 0 comments
Open

Logical error in BoxDataLayer? #31

leeeeeeo opened this issue May 26, 2020 · 0 comments

Comments

@leeeeeeo
Copy link

When reading the source code of BoxDataLayer. (code) It brings me to here. It seems that box labels are not transformed, but image is transformed (crop, mirror) in Transform(cv_img, transformed_blob) in testing stage. I assume this would cause fatal error such as box labels out of range of images.

Similar situation happens in training stage code. It seems you random shift the position of box labels. You resize the image to its origin size, while keeping box labels unresized. Then you transform the image, and do nothing to box labels.

Since I do not have the dataset, I cannot reproduce the "error". But it looks incorrect intuitively.

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

1 participant