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

RuntimeError: Error(s) in loading state_dict for Sam #165

Open
hr504883750 opened this issue Nov 14, 2023 · 2 comments
Open

RuntimeError: Error(s) in loading state_dict for Sam #165

hr504883750 opened this issue Nov 14, 2023 · 2 comments

Comments

@hr504883750
Copy link

label-studio-ml start sam --port 8003 --with model_name=sam_hq sam_config=vit_b sam_checkpoint_file=./sam_hq_vit_h.pth out_mask=True out_bbox=True device=cpu

image
image

@AIlaowong
Copy link

me too

@zhangs669
Copy link

The model you are using is sam_hq_vit_h.pth.so your sam_config should be sam_config=vit_h

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