Skip to content

Conversation

@ryoKaz
Copy link
Contributor

@ryoKaz ryoKaz commented Sep 5, 2021

No description provided.

@ryoKaz ryoKaz changed the title [WIP] add option for export yolo with intended annotations add option for export yolo with intended annotations Sep 6, 2021
Comment on lines 149 to 155
yolo = ()
if len(classes) == 0:
coco = to_coco(tasks)
yolo = __coco2yolo(coco)
else:
yolo = __to_yolo(tasks, classes)
return yolo
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

こっちの方が自然かと

    if len(classes) == 0:
        coco = to_coco(tasks)
        return __coco2yolo(coco)
    else:
        return__to_yolo(tasks, classes)

@faycute faycute merged commit 90208c8 into develop Sep 8, 2021
@faycute faycute deleted the feature/export-yolo-with-all-annotations branch September 8, 2021 01:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants