z-x-yang / Segment-and-Track-Anything

An open-source project dedicated to tracking and segmenting any objects in videos, either automatically or interactively. The primary algorithms utilized include the Segment Anything Model (SAM) for key-frame segmentation and Associating Objects with Transformers (AOT) for efficient tracking and propagation purposes.
GNU Affero General Public License v3.0
2.77k stars 335 forks source link

Questions about the parameters in sam_args #11

Closed tayton42 closed 1 year ago

tayton42 commented 1 year ago

Thank you very much for your work.Could you please briefly explain the meaning of the parameters in sam_args and how they will affect the results?

yoxu515 commented 1 year ago

Hi, we have added comments in model_args.py in the updated code. For sam_args, please refer to sam/segment_anything/automatic_mask_generator.py, the doc for class SamAutomaticMaskGenerator has specified the meanings of these arguments.