Skip to content

Allow to disable data/ prefix in YOLO export#689

Merged
zhiltsov-max merged 8 commits intodevelopfrom
zm/yolo-prepend-data
Mar 28, 2022
Merged

Allow to disable data/ prefix in YOLO export#689
zhiltsov-max merged 8 commits intodevelopfrom
zm/yolo-prepend-data

Conversation

@zhiltsov-max
Copy link
Copy Markdown
Contributor

@zhiltsov-max zhiltsov-max commented Mar 22, 2022

Summary

Closes #609

  • Added the add-path-prefix option to disable data/ prefix generation in YOLO export
  • Enforced forward slashes in YOLO annotation files

How to test

Checklist

License

  • I submit my code changes under the same MIT License that covers the project.
    Feel free to contact the maintainers if that's a concern.
  • I have updated the license header for each file (see an example below)
# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

Comment thread site/content/en/docs/formats/yolo.md Outdated
- `--image-ext <IMAGE_EXT>` allow to specify image extension
for exporting dataset (default: use original or `.jpg`, if none)
- `--add-path-prefix` whether to include the `data/` path prefix
in the annotation files of not (default: `True`)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Suggested change
in the annotation files of not (default: `True`)
in the annotation files or not (default: `True`)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks, fixed.

@zhiltsov-max zhiltsov-max merged commit 6c11145 into develop Mar 28, 2022
@zhiltsov-max zhiltsov-max deleted the zm/yolo-prepend-data branch March 28, 2022 10:09
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.

2 participants