From 0cf532ac47bde00793287548e87b44091a38e3eb Mon Sep 17 00:00:00 2001 From: kolonist-minjun <130522722+kolonist-minjun@users.noreply.github.com> Date: Wed, 2 Aug 2023 10:03:37 +0900 Subject: [PATCH 1/3] Fix filename for label in CamVid format In the previous description of the CamVid format, the filename for the label was 'labelmap.txt', but the correct filename is 'label_colors.txt'. Therefore, in this proposal, I fixed 'labelmap.txt' to 'label_colors.txt'. Also, I added the comment about 'color (RGB) value is not necessary'. --- .../content/en/docs/manual/advanced/formats/format-camvid.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/site/content/en/docs/manual/advanced/formats/format-camvid.md b/site/content/en/docs/manual/advanced/formats/format-camvid.md index 1485188a5bc6..32d0d5c061aa 100644 --- a/site/content/en/docs/manual/advanced/formats/format-camvid.md +++ b/site/content/en/docs/manual/advanced/formats/format-camvid.md @@ -13,7 +13,7 @@ Downloaded file: a zip archive of the following structure: ```bash taskname.zip/ -├── labelmap.txt # optional, required for non-CamVid labels +├── label_colors.txt # optional, required for non-CamVid labels ├── / | ├── image1.png | └── image2.png @@ -22,8 +22,9 @@ taskname.zip/ | └── image2.png └── .txt -# labelmap.txt +# label_colors.txt # color (RGB) label +# if you do not enter a color (RGB) value, it will be set automatically. 0 0 0 Void 64 128 64 Animal 192 0 128 Archway From f15e4a438b1d7c19b75e9cdb2cd455ee85f3df23 Mon Sep 17 00:00:00 2001 From: kolonist-minjun <130522722+kolonist-minjun@users.noreply.github.com> Date: Wed, 2 Aug 2023 10:17:57 +0900 Subject: [PATCH 2/3] Update CHANGELOG about 'fix label filename for CamVid format' Added a description about 'Fix filename for label in CamVid format' --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 87143015a4eb..c37c30e5de2e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Accidentally using prebuilt FFmpeg bundled in PyAV instead of the custom build. +- Fix filename for label in CamVid format () ### Security From 47bc964a041dcc84f7d0178b02ac57a7f2a24303 Mon Sep 17 00:00:00 2001 From: kolonist-minjun <130522722+kolonist-minjun@users.noreply.github.com> Date: Wed, 9 Aug 2023 22:09:53 +0900 Subject: [PATCH 3/3] Update format-camvid.md (exmaple code about label_colors.txt without color information) Add example code about label_colors.txt without color information. -> # label_colors.txt (without color value type) # if you do not manually set the color for labels, it will be set automatically: # label Void Animal Archway Bicyclist Bridge --- .../docs/manual/advanced/formats/format-camvid.md | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/site/content/en/docs/manual/advanced/formats/format-camvid.md b/site/content/en/docs/manual/advanced/formats/format-camvid.md index 32d0d5c061aa..301d32b8fcdb 100644 --- a/site/content/en/docs/manual/advanced/formats/format-camvid.md +++ b/site/content/en/docs/manual/advanced/formats/format-camvid.md @@ -22,14 +22,23 @@ taskname.zip/ | └── image2.png └── .txt -# label_colors.txt +# label_colors.txt (with color value type) +# if you want to manually set the color for labels, configure label_colors.txt as follows: # color (RGB) label -# if you do not enter a color (RGB) value, it will be set automatically. 0 0 0 Void 64 128 64 Animal 192 0 128 Archway 0 128 192 Bicyclist 0 128 64 Bridge + +# label_colors.txt (without color value type) +# if you do not manually set the color for labels, it will be set automatically: +# label +Void +Animal +Archway +Bicyclist +Bridge ``` Mask is a `png` image with 1 or 3 channels where each pixel