Visual-Attention-Network / SegNeXt

Official Pytorch implementations for "SegNeXt: Rethinking Convolutional Attention Design for Semantic Segmentation" (NeurIPS 2022)
Apache License 2.0
795 stars 85 forks source link

A case that will never happen in /backbones/mscan.py #43

Open yangtao2019yt opened 1 year ago

yangtao2019yt commented 1 year ago

image

A case that will never happen in /backbones/mscan.py, which is about considering if i==0 else xxx in the else branch. I guess this is from van.py but the author forget to change this together with the STEM module.