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

librbox.cpp #16

Open
dps42 opened this issue Dec 18, 2019 · 0 comments
Open

librbox.cpp #16

dps42 opened this issue Dec 18, 2019 · 0 comments

Comments

@dps42
Copy link

dps42 commented Dec 18, 2019

Hi. Thanks for sharing the code.

  1. Is librbox.cpp that you used to create librbox.so exactly the same as the one in https://github.com/liulei01/DRBox/blob/master/examples/rbox/deploy/librbox.cpp.code ? Or was there any modification? Due to weird IT policy, I only have access to a GPU on a Windows machine. I checked the code on a slow Linux machine, and the librbox.so seemed to work. But when I tried to port it to Windows using Python's ctypes LoadLibrary() after creating a Windows DLL using Visual Studio, the code showed weird and different inference results. So I'd like to know whether the librbox.cpp is exactly the same.

  2. Could you briefly explain how OverlapSum() works? In the code, I saw things like line cross point, inner point, etc. but I couldn't find much information from the paper.

  3. I couldn't understand the statement in the paper: "In the test stage, the test images are divided
    into image chips with the size of 300×300 pixels and adjacent chips have an overlap area of 15% to ensure that the targets at the edge of each chip will not be missed." Where in the code can I find this process? Is this actually used when the input image is 300 x 300? Then how do we divide the 300x300 image into 300x300 image chips?

Thank you.

@dps42 dps42 changed the title librbox.cpp libdrbox.cpp Dec 18, 2019
@dps42 dps42 changed the title libdrbox.cpp librbox.cpp Dec 18, 2019
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