chongzhou96 / MaskCLIP

Official PyTorch implementation of "Extract Free Dense Labels from CLIP" (ECCV 22 Oral)

Home Page:https://www.mmlab-ntu.com/project/maskclip/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

1 x 1 conv vs linear

Ming-er opened this issue · comments

What's the different between 1 x 1 and linear? why should we do the replacement?

@Ming-er I think the only difference between 1x1 conv and linear is that conv layer ignores the bias term in linear layer, and except that the calculation is the same. I'm curious about if the bias term will effect the final performance. Did you do some experiments to compare these two approaches?