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

data-generation sam_hq_vit_h.pth #40

Open
taomrzhang opened this issue Dec 18, 2024 · 1 comment
Open

data-generation sam_hq_vit_h.pth #40

taomrzhang opened this issue Dec 18, 2024 · 1 comment

Comments

@taomrzhang
Copy link

During the data generation preparation process, the command wget https://huggingface.co/spaces/xinyu1205/Tag2Text/resolve/main/tag2text_swin_14m.pth needs to be executed. However, when running python run_with_submitit_generate_caption.py, the parameter passed does not use tag2text_swin_14m.pth, but instead the --sam_hq_checkpoint parameter is assigned sam_hq_vit_h.pth. However, I could not find the download link for sam_hq_vit_h.pth. Could the author provide sam_hq_vit_h.pth, or could you guide me to where I can download it? Or, is it possible to use tag2text_swin_14m.pth as a replacement for sam_hq_vit_h.pth?

@frank-xwang
Copy link
Owner

Hi, you can find sam_hq_vit_h.pth under https://huggingface.co/lkeab/hq-sam/tree/main

Please let me know if you have more questions.

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

2 participants