MengyangPu / EDTER

EDTER: Edge Detection with Transformer, in CVPR 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Why do the predictions have clear dividing lines?

zjuPeco opened this issue · comments

commented

Hello, I run the model with pretrained weights on BSDS-500 testset. The ODS value is all right, but the visual results have clear dividing lines which is not seen in the prediction of other models.

Can you explain this?

Thank you!

2018_concat

commented

using "whole" mode instead of "slide" to inference solves this problem

你好,whole模式是什么意思哇

commented

你好,whole模式是什么意思哇

https://github.com/MengyangPu/EDTER/blob/main/configs/bsds/EDTER_BIMLA_320x320_80k_bsds_bs_8.py#L97

test_cfg = dict(mode='slide', crop_size=(320, 320), stride=(280, 280))

to

test_cfg = dict(mode='whole')

thanks very much!!

你好!在whole模型下,此模型的输入为320*320,如果要输入的数据和320不匹配,只能选择slide模式吗?不知道我这样理解对不对