Skip to content

Type of argument 'crop-overlap-ratio' should be changed from int to float #259

Description

@hughkhu

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, ...):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions