zifuwan / Sigma

[WACV 2025] Python implementation of Sigma: Siamese Mamba Network for Multi-Modal Semantic Segmentation
https://zifuwan.github.io/Sigma/
MIT License
190 stars 19 forks source link

exchange of parameters C #14

Closed ChenJunhao-Fighting closed 6 months ago

ChenJunhao-Fighting commented 6 months ago

Does the exchange of parameters C require that the L of the two modes be equal? ​​For example, sequences BL1D and BL2D cannot be exchanged?

zifuwan commented 6 months ago

Hi, the input shapes are expected to be the same. For different input shapes, you can either use a linear layer before sending to SSMs, or change the linear layer here.