Load samhq model?
Closed this issue · 3 comments
crapthings commented
https://github.com/SysCV/sam-hq#model-checkpoints
https://huggingface.co/lkeab/hq-sam/tree/main
how to load sam_hq model?
luca-medeiros commented
Hey
https://github.com/luca-medeiros/lang-segment-anything#usage
here you can find custom checkpoint usage. havent test your case tho
CkShibit commented
luca-medeiros commented
Hey, I think I found the issue.
I believe here should be:
sam = sam_model_registry[self.sam_type](checkpoint=ckpt_path)
Mind trying and writing a PR if it works?