Open Profy opened 3 months ago
Try to use SamDetector.from_pretrained("dhkim2810/MobileSAM", model_type="vit_t", filename="mobile_sam.pt")
Try to use
SamDetector.from_pretrained("dhkim2810/MobileSAM", model_type="vit_t", filename="mobile_sam.pt")
I tried this but i got another error:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu!
I am using controlnet-aux==0.0.9
MobileSAM download in the
controlnet_union_test_segment.py
script does not work. It can't find the entry point.Is there an additional step (such as adding weights locally or using a token for downloading) required to download MobileSAM?