Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add script converts yolo-style to coco format #161

Merged
merged 58 commits into from
Oct 21, 2022
Merged
Changes from 1 commit
Commits
Show all changes
58 commits
Select commit Hold shift + click to select a range
f38127b
the script converts yolo-style to coco format draft 1
xin-li-67 Oct 13, 2022
44601c0
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 14, 2022
4542ee7
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 14, 2022
65386f9
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 14, 2022
54bceb6
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 14, 2022
0d4d9ab
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 14, 2022
60c8a91
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 14, 2022
e4d2eaa
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 14, 2022
101cb39
typo fixed and update
xin-li-67 Oct 14, 2022
58fa514
encaped and modified yolo2coco
xin-li-67 Oct 14, 2022
8f97cb6
more usage instructions of yolo2coco
xin-li-67 Oct 14, 2022
9d98c42
Update docs/zh_cn/user_guides/useful_tools.md
xin-li-67 Oct 14, 2022
257a985
Update docs/en/user_guides/useful_tools.md
xin-li-67 Oct 14, 2022
0265345
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 14, 2022
682e665
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 14, 2022
2ca277f
Update docs/en/user_guides/useful_tools.md
xin-li-67 Oct 14, 2022
2dc0528
Update docs/zh_cn/user_guides/useful_tools.md
xin-li-67 Oct 14, 2022
659aedc
Update docs/zh_cn/user_guides/useful_tools.md
xin-li-67 Oct 14, 2022
75937ba
Update docs/en/user_guides/useful_tools.md
xin-li-67 Oct 14, 2022
a4d3fe2
final draft of yolo2coco
xin-li-67 Oct 14, 2022
6961b35
Merge branch 'dev' of github.com:open-mmlab/mmyolo into yolo2coco
xin-li-67 Oct 14, 2022
546c115
final draft of yolo2coco
xin-li-67 Oct 14, 2022
818303f
final draft of yolo2coco
xin-li-67 Oct 14, 2022
60cbae5
Merge branch 'yolo2coco' of github.com:xin-li-67/mmyolo into yolo2coco
xin-li-67 Oct 14, 2022
1a0d21a
revise the script and remove -split indicator
xin-li-67 Oct 14, 2022
efe3bd5
Update docs/en/user_guides/useful_tools.md
xin-li-67 Oct 15, 2022
cb2549b
update the structural example of the root path
xin-li-67 Oct 15, 2022
aac8537
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 16, 2022
21e00d6
fix typo on check_existence
xin-li-67 Oct 16, 2022
0cb43fb
Update docs/zh_cn/user_guides/useful_tools.md
xin-li-67 Oct 16, 2022
f0d778f
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 16, 2022
b869eb8
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 16, 2022
018a8f6
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 16, 2022
3a3204c
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 16, 2022
bcdac33
update the commits
xin-li-67 Oct 16, 2022
18ead51
rewrite split_by_files part and add copy_image part
xin-li-67 Oct 19, 2022
d4c854e
add instruction on using absolute image paths
xin-li-67 Oct 19, 2022
e439ad3
add instruction on using absolute image paths
xin-li-67 Oct 19, 2022
3dea55f
Update docs/en/user_guides/useful_tools.md
RangeKing Oct 20, 2022
1be362e
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 20, 2022
8913f61
Update docs/en/user_guides/useful_tools.md
xin-li-67 Oct 20, 2022
9676c64
Update docs/en/user_guides/useful_tools.md
xin-li-67 Oct 20, 2022
5e4cd57
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 20, 2022
6f015fc
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 20, 2022
a1fc8ed
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 20, 2022
423198e
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 20, 2022
7092c78
add basic statistic func
xin-li-67 Oct 20, 2022
525b390
add basic statistic func
xin-li-67 Oct 20, 2022
1d3d797
revise the script
xin-li-67 Oct 20, 2022
b1c1c74
remove copy&move image func
xin-li-67 Oct 21, 2022
a819d07
Update docs/zh_cn/user_guides/useful_tools.md
xin-li-67 Oct 21, 2022
d5c84e9
Update docs/en/user_guides/useful_tools.md
xin-li-67 Oct 21, 2022
43d00b7
Update docs/en/user_guides/useful_tools.md
xin-li-67 Oct 21, 2022
c873127
Update docs/en/user_guides/useful_tools.md
xin-li-67 Oct 21, 2022
f8a23f7
Update docs/en/user_guides/useful_tools.md
xin-li-67 Oct 21, 2022
e157b3b
Update docs/en/user_guides/useful_tools.md
xin-li-67 Oct 21, 2022
df1c708
Update tools/dataset_converters/yolo2coco.py
xin-li-67 Oct 21, 2022
f6995ef
revise image_dir
xin-li-67 Oct 21, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs/zh_cn/user_guides/useful_tools.md
Co-authored-by: Haian Huang(深度眸) <1286304229@qq.com>
  • Loading branch information
xin-li-67 and hhaAndroid authored Oct 21, 2022
commit a819d07bfac6b5085d61d4b2c522e64eae264e55
2 changes: 1 addition & 1 deletion docs/zh_cn/user_guides/useful_tools.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ python tools/dataset_converters/yolo2coco.py --image-dir /path/to/the/root/dir/o

使用说明:

1. `image-dir` 是待转换的yolo格式数据集的根目录,内应包含 `images` 、 `labels` 和 `classes.txt` 文件, `classes.txt` 是当前 dataset 对应的类的声明,一行一个类别。
1. `image-dir` 是待转换的 yolo 格式数据集的根目录,内应包含 `images` 、 `labels` 和 `classes.txt` 文件, `classes.txt` 是当前 dataset 对应的类的声明,一行一个类别。
`image_dir` 结构如下例所示:

```bash
Expand Down