Skip to content

fix: pin supervision==0.21.0 and add map_location for HQSAM checkpoint#558

Open
dldldlfma wants to merge 3 commits intoIDEA-Research:mainfrom
dldldlfma:lighthqsam_inf
Open

fix: pin supervision==0.21.0 and add map_location for HQSAM checkpoint#558
dldldlfma wants to merge 3 commits intoIDEA-Research:mainfrom
dldldlfma:lighthqsam_inf

Conversation

@dldldlfma
Copy link
Copy Markdown

Dependencies – Lock supervision to 0.21.0 (sv.BoxAnnotator is removed in ≥0.22).
Checkpoint – Use torch.load(..., map_location=DEVICE) to prevent device-mismatch errors.
Testing – EfficientSAM/grounded_light_hqsam.py validated on CPU and CUDA.
Impact – Patch-level bug fix; no API changes.

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

Successfully merging this pull request may close these issues.

1 participant