Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you provide a download link for the pth file of the SAM model? #47

Open
MenSanYan opened this issue May 7, 2024 · 2 comments
Open

Comments

@MenSanYan
Copy link

MenSanYan commented May 7, 2024

As shown in line 32 of "https://github.com/mbzuai-oryx/groundingLMM/tree/main/scripts/finetune_glamm_refsegm.sh", training requires a SAM pre-trained pth file, but it is not available in Model zoo. Please provide it. @mmaaz60

@mmaaz60
Copy link
Member

mmaaz60 commented May 10, 2024

Hi @MenSanYan,

Thank you for your interest in our work. The SAM weights can be downloaded from their official GiTHub repository using the following link,

https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth

@ekazakos
Copy link

Hi @mmaaz60 ! As I can read in the paper and after checking the code you fine-tuned those weights, correct? Could you provide the fine-tuned SAM weights? Or are these loaded automatically when running GLaMMForCausalLM.from_pretrained(...)? That would mean that we should actually pass --vision_pretrained None if we actually want to use the fine-tuned weights, right? Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants