MendelXu / ANN

semantic segmentation,pytorch,non-local
Apache License 2.0
312 stars 63 forks source link

关于apnb模块中的 self.f_query = self.f_key? #18

Closed swjtulinxi closed 3 years ago

swjtulinxi commented 3 years ago

你好,请问在apnb中此处权重共享,此处设置与nonlocal和afnb中不一样,请问使self.f_query = self.f_key是否会对结果造成影响

MendelXu commented 3 years ago

您好,我们在较小尺度上的实验显示影响不大,但是这种形式参数量要小一些,因此我们最终就采用了这种设计。

swjtulinxi commented 3 years ago

hi ,i have a question about the contextual module in Semantic segmentation ,such as your apbn, ppm,aspp and so on, Why I use and not use this module has no effect on the results,Does the size of batchsize affect the accuracy of the context module

MendelXu commented 3 years ago

I am not sure why the context modules make no effect on your project. But according to my experience, batch size affect the performance of a semantic segmentation model a lot, even without a context module.