SnawarHussain

Results 1 comments of SnawarHussain

hi, you can feed a batch like this to the SAM image encoder with onnx runtime: ```python encoder_inputs = {"x": [batch[0,...].cpu().numpy(), batch[1,...].cpu().numpy(), batch[2,...].cpu().numpy()] } output = self.sam_encoder_session.run(None, encoder_inputs) image_embedding =...