It is not possible to provide SAM with a batch entry containing bounding boxes and point coordinates at the same time. I followed the code of the tutorial:https://github.com/facebookresearch/segment-anything/blob/main/notebooks/predictor_example.ipynb   Colab for replicate: https://colab.research.google.com/drive/1gJHHQj9WFxAO4CcjLTPokoObD4g4_Pjn?usp=sharing