SysCV/sam-hq

The purpose of self.embedding_maskfeature

Opened this issue · 3 comments

Thank you for the impressive repo!

I am concerned about the self.embedding_maskfeature in your code. In your code I see that this module is something like you just decrease then increase the number of channel, is it right? or is there any other purpose of this module?

Hi, self.embedding_maskfeature is used for adding some trainable parameters to the learning of maskfeature.
Since the maskdecoder is fixed and we find that adding learnable parameter on maskfeature can improve the perfomance of results on HQ-Seg44K dataset.

Thanks for replying!