varhuman
Results
2
comments of
varhuman
this is more useful infomation: ``` sam_checkpoint = "./models/sam_vit_h_4b8939.pth" device = 'cuda' if torch.cuda.is_available() else 'mps' model_type = "default" sam = sam_model_registry[model_type](checkpoint=sam_checkpoint) sam.to(device=device) sam.to(dtype=torch.float32) # I try this but didn't...
> it works with device='cpu' I know, I've tried it before, but it's too slow I want to go faster :(