In script/amg.py
amg_settings.add_argument( "--crop-overlap-ratio", type=int, default=None, help="Larger numbers mean image crops will overlap more.", )
conflicts with SamAutomaticMaskGenerator in segment_anything/automatic_mask_generator.py
class SamAutomaticMaskGenerator: def __init__( self, model: Sam, ..., crop_overlap_ratio: float = 512 / 1500, ...):
In script/amg.py
amg_settings.add_argument( "--crop-overlap-ratio", type=int, default=None, help="Larger numbers mean image crops will overlap more.", )conflicts with SamAutomaticMaskGenerator in segment_anything/automatic_mask_generator.py
class SamAutomaticMaskGenerator: def __init__( self, model: Sam, ..., crop_overlap_ratio: float = 512 / 1500, ...):