Open TapendraBaduwal opened 1 year ago
i am doing like this..but not getting mask
image = cv2.imread(file_location) predictor.set_image(image) image_embedding = predictor.get_image_embedding().cpu().numpy().tobytes() encoded=[base64.b64encode(image_embedding).decode('ascii')]
Any news here?
You can use np. load()
i am doing like this..but not getting mask
image = cv2.imread(file_location) predictor.set_image(image) image_embedding = predictor.get_image_embedding().cpu().numpy().tobytes() encoded=[base64.b64encode(image_embedding).decode('ascii')]