Tang, Sheng-Kai
Results
1
comments of
Tang, Sheng-Kai
> > 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)` > > to make it work in MPS. > >...