YOLO-World
YOLO-World copied to clipboard
关于结果保存
请问支持把预测的bbox结果和类别保存文件下来吗
当然,完全ok,我可以在demo里面支持一下
当然,完全ok,我可以在demo里面支持一下
在image_demo里面我发现有sv.DetectionDataset( classes=texts, images=images_dict, annotations=annotations_dict ).as_yolo( annotations_directory_path=ANNOTATIONS_DIRECTORY, min_image_area_percentage=MIN_IMAGE_AREA_PERCENTAGE, max_image_area_percentage=MAX_IMAGE_AREA_PERCENTAGE, approximation_percentage=APPROXIMATION_PERCENTAGE )我制定了目录,没有报错但是只是创建了文件夹却没有保存下来annotation
Have you solved this problem? I have meet the same problem.
Have you solved this problem? I have meet the same problem.
Have you solved this problem? I have meet the same problem.
Have you solved this problem? I have meet the same problem.
@KDgggg @zzzzzzj0 @tim20120526 replace "ANNOTATIONS_DIRECTORY = os.makedirs( "annotations", exist_ok=True)" with "ANNOTATIONS_DIRECTORY = osp.join(output_dir, "annotations") os.makedirs(ANNOTATIONS_DIRECTORY, exist_ok=True)", because os.makedirs() return None