junfu1115 / DANet

Dual Attention Network for Scene Segmentation (CVPR2019)
MIT License
2.41k stars 483 forks source link

Does these 1x1 convs' input channel should be a const value? #88

Closed VincentXWD closed 4 years ago

VincentXWD commented 5 years ago

Have a question here: https://github.com/junfu1115/DANet/blob/master/encoding/models/danet.py#L79-L82

What I wonder is that does these 1x1 convs' input channel should be a const value? I think set all 1x1 convs' input channel to 'inter_channels' rather than '512' should be better.

If it's not better nor it's not consistant with the paper, please point it out. Thanks.

VincentXWD commented 5 years ago

@junfu1115

junfu1115 commented 4 years ago

Thanks.