Argument Type Description Default data 待标注的数据 det_model 预训练的检测模型 Defaults to ‘yolov8x.pt’. ‘yolov8x.pt’ sam_model 预训练的SAM模型 Defaults to ‘sam_b.pt’. ‘sam_b.pt’ device 运行设备. Defaults to an empty string (CPU or GPU, if available). ‘’ output_dir 保存标注结果的路径. Defaults to a ‘labels’ folder in the same directory as ‘data’. None