BachHoang

Results 1 comments of BachHoang

replace this line: https://github.com/facebookresearch/segment-anything/blob/6fdee8f2727f4506cfbbe553e23b895e27956588/segment_anything/automatic_mask_generator.py#L277 with ` in_points= torch.from_numpy(transformed_points.astype(np.float32)).to(self.predictor.device) ` will make it work in mps