Skip to content

图片预处理时出现错误 #123

@yx618

Description

@yx618

我在处理dota1.5数据集的时侯,出现了如下错误,请问一下我该如何解决?谢谢

File "/home/speech/cipan/s2anet/DOTA_devkit/convert_dota_to_mmdet.py", line 66, in convert_dota_to_mmdet
bboxes, labels, bboxes_ignore, labels_ignore = parse_ann_info(label_path, img_name)
File "/home/speech/cipan/s2anet/DOTA_devkit/convert_dota_to_mmdet.py", line 32, in parse_ann_info
labels.append(label_ids[class_name])
KeyError: 'container-crane'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions