Skip to content

API Reference

lang_sam_utilities

LangSAM_apb(model_type='vit_h', checkpoint=None)

Bases: LangSAM

Class on top of LangSAM to be able to call Grounding DINO separately from

Parameters:

Name Type Description Default
LangSAM samgeo.text_sam class

LangSAM class from SamGeo (Segment-geospatial package, by Qiusheng Wu)

required
Source code in apb_spatial_computer_vision/lang_sam_utilities.py
12
13
14
15
16
17
def __init__(
    self,
    model_type="vit_h",
    checkpoint=None):
    super().__init__(model_type,
    checkpoint)