xuebinqin / U-2-Net

The code for our newly accepted paper in Pattern Recognition 2020: "U^2-Net: Going Deeper with Nested U-Structure for Salient Object Detection."
Apache License 2.0
8.43k stars 1.45k forks source link

Narrow borders of the image - strictly cropped images. #211

Open tuukkis opened 3 years ago

tuukkis commented 3 years ago

Has anyone come across a situation where the original images are cropped quite tightly and the border is narrow. Have you been taught the solution to work with these situations?

I noticed that if the border is narrow this solution will not work. If you add space to the border it works immediately.

Suggestions or ideas?

xuebinqin commented 3 years ago

Cropped strictly images are almost equal to these large targets, which are not majority in the training set of DUTS-TR. Expand the border of bounding boxes is similar to creating images with smaller targets, which is close to the ratio of the training set.

On Fri, May 28, 2021 at 11:55 AM tuukkis @.***> wrote:

Has anyone come across a situation where the original images are cropped quite tightly and the border is narrow. Have you been taught the solution to work with these situations?

I noticed that if the border is narrow this solution will not work. If you add space to the border it works immediately.

Suggestions or ideas?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/xuebinqin/U-2-Net/issues/211, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADSGORKD6FGIY3FYNEXIJLLTP5D6NANCNFSM45V7KUFA .

-- Xuebin Qin PhD Department of Computing Science University of Alberta, Edmonton, AB, Canada Homepage:https://webdocs.cs.ualberta.ca/~xuebin/