.. py:currentmodule:: astropathdb.experimental.autoannos :py:func:`.define_sam_batchinputs` ============================================ .. py:function:: define_sam_batchinputs(img, gdf_bb, device = 'cuda') :single-line-parameter-list: Define the sam model batch inputs for an image ImgFull. provided a geoseries contain envelope (bounding box) regions of the image. # https://github.com/facebookresearch/segment-anything/blob/main/notebooks/predictor_example.ipynb