w1oves / Rein

[CVPR 2024] Official implement of <Stronger, Fewer, & Superior: Harnessing Vision Foundation Models for Domain Generalized Semantic Segmentation>
https://zxwei.site/rein
GNU General Public License v3.0
215 stars 19 forks source link

How to use SAM as Backbone? #29

Closed jasonbourne1212 closed 3 months ago

jasonbourne1212 commented 4 months ago

Thank you for your excellent work!
Could you provide relative code for Backbone of SAM? Thanks a lot!

w1oves commented 4 months ago

OK! I am sorry that it will take some times.

w1oves commented 4 months ago

I have uploaded the relevant code for the SAM Backbone. The weights and config will be uploaded between May 6 and May 15.

jasonbourne1212 commented 4 months ago

thank you very much!

w1oves commented 3 months ago

I have uploaded the full code for the SAM Backbone. Pre-training weight, config, log and checkpoints can be found in the Readme.md. Before using it, you should convert SAM pre-training weight by tools/convert_models/convert_sam.py.

w1oves commented 3 months ago

Please note that the code for the SAM Backbone has been updated in the latest version. I recommend pulling the entire project to ensure you have the most current updates.

jasonbourne1212 commented 3 months ago

OK! Thank You.