cherubicXN / afm_cvpr2019

Official implementation of paper "Learning Attraction Field Map for Robust Line Segment Detection" (CVPR 2019)
MIT License
296 stars 66 forks source link

Results wrong when testing at different input resolutions #12

Closed ronnie-tian closed 5 years ago

ronnie-tian commented 5 years ago

Hi, I want to test on some other images. When I use the default settings, the result is ok but there are some drifts from the actual edges. I guess it may due to the testing image resolution is too small, so I set the input and output resolutions to 640 and the output is meaningless. Do you have any idea about this? Thank you.

Output using default setting: 00002 j

Output with input and output resolutions set to 640: 00002 j

cherubicXN commented 5 years ago

Because the training resolution is fixed to 320x320, the test image should also be resized to 320x320. For high resolution images, you should change the resolution of training image and train the network again. I will update the trained models with high resolution training samples recently. You can also do it by yourself.

ronnie-tian commented 5 years ago

@cherubicXN Noted, thank you for your reply. I will try to train a model with high resolution.