tianrun-chen / SAM-Adapter-PyTorch

Adapting Meta AI's Segment Anything to Downstream Tasks with Adapters and Prompts
MIT License
968 stars 83 forks source link

What is the sub-folder `mmseg` used for? #22

Closed jinx2018 closed 1 year ago

jinx2018 commented 1 year ago

What is the subfolder mmseg used for ?

And it has a different implementation of the SAM training.

hhhhyyyyyyrrrrr commented 1 year ago

Hello, I have the same question about this, did you solve your question?

jinx2018 commented 1 year ago

Hello, I have the same question about this, did you solve your question?

The subfolder provided the ImageEncoderViT, MaskDecoder, TwoWayTransformer models.

hhhhyyyyyyrrrrr commented 1 year ago

Thank you for your answer, do you know what prompt_encoder.py does? Did you try to call it during training?

jinx2018 commented 1 year ago

Thank you for your answer, do you know what prompt_encoder.py does? Did you try to call it during training?

It seem that the prompt_encoder.py is the original prompt encoder design from the SAM paper. If you try to train the Adapter-SAM, then this file won't be used.