diff --git a/docs/annotation/cityscapes_demo/cityscapes_demo_dataset.yaml b/docs/annotation/cityscapes_demo/cityscapes_demo_dataset.yaml new file mode 100755 index 0000000000000000000000000000000000000000..69b43e7ad42150eb57aec055294fc0fd45ff6e49 --- /dev/null +++ b/docs/annotation/cityscapes_demo/cityscapes_demo_dataset.yaml @@ -0,0 +1,9 @@ +DATASET: + DATA_DIR: "./docs/annotation/cityscapes_demo/" + IMAGE_TYPE: "rgb" # choice rgb or rgba + NUM_CLASSES: 19 + TEST_FILE_LIST: "docs/annotation/cityscapes_demo/val.list" + TRAIN_FILE_LIST: "docs/annotation/cityscapes_demo/train.list" + VAL_FILE_LIST: "docs/annotation/cityscapes_demo/val.list" + SEPARATOR: " " + IGNORE_INDEX: 255 diff --git a/docs/annotation/cityscapes_demo/gtFine/train/stuttgart/stuttgart_000021_000019_gtFine_labelTrainIds.png b/docs/annotation/cityscapes_demo/gtFine/train/stuttgart/stuttgart_000021_000019_gtFine_labelTrainIds.png new file mode 100755 index 0000000000000000000000000000000000000000..ea126e4fb7f8a7e4dbfc4aeb20e7fcdf934e249e Binary files /dev/null and b/docs/annotation/cityscapes_demo/gtFine/train/stuttgart/stuttgart_000021_000019_gtFine_labelTrainIds.png differ diff --git a/docs/annotation/cityscapes_demo/gtFine/train/stuttgart/stuttgart_000072_000019_gtFine_labelTrainIds.png b/docs/annotation/cityscapes_demo/gtFine/train/stuttgart/stuttgart_000072_000019_gtFine_labelTrainIds.png new file mode 100755 index 0000000000000000000000000000000000000000..b8ee390e4cb1175525ba1b4606b6e5653643a671 Binary files /dev/null and b/docs/annotation/cityscapes_demo/gtFine/train/stuttgart/stuttgart_000072_000019_gtFine_labelTrainIds.png differ diff --git a/docs/annotation/cityscapes_demo/gtFine/val/frankfurt/frankfurt_000001_062250_gtFine_labelTrainIds.png b/docs/annotation/cityscapes_demo/gtFine/val/frankfurt/frankfurt_000001_062250_gtFine_labelTrainIds.png new file mode 100755 index 0000000000000000000000000000000000000000..ea6f7a16033fc2ee99debe4002e775c8f1c72d92 Binary files /dev/null and b/docs/annotation/cityscapes_demo/gtFine/val/frankfurt/frankfurt_000001_062250_gtFine_labelTrainIds.png differ diff --git a/docs/annotation/cityscapes_demo/gtFine/val/frankfurt/frankfurt_000001_063045_gtFine_labelTrainIds.png b/docs/annotation/cityscapes_demo/gtFine/val/frankfurt/frankfurt_000001_063045_gtFine_labelTrainIds.png new file mode 100755 index 0000000000000000000000000000000000000000..3d7f93a4e91beb9819324dca91f74478e7af247b Binary files /dev/null and b/docs/annotation/cityscapes_demo/gtFine/val/frankfurt/frankfurt_000001_063045_gtFine_labelTrainIds.png differ diff --git a/docs/annotation/cityscapes_demo/leftImg8bit/train/stuttgart/stuttgart_000021_000019_leftImg8bit.png b/docs/annotation/cityscapes_demo/leftImg8bit/train/stuttgart/stuttgart_000021_000019_leftImg8bit.png new file mode 100755 index 0000000000000000000000000000000000000000..3994dd3da339c1fce21e48318e5866772dfb9451 Binary files /dev/null and b/docs/annotation/cityscapes_demo/leftImg8bit/train/stuttgart/stuttgart_000021_000019_leftImg8bit.png differ diff --git a/docs/annotation/cityscapes_demo/leftImg8bit/train/stuttgart/stuttgart_000072_000019_leftImg8bit.png b/docs/annotation/cityscapes_demo/leftImg8bit/train/stuttgart/stuttgart_000072_000019_leftImg8bit.png new file mode 100755 index 0000000000000000000000000000000000000000..f2c18c128f3ba8b190dc9b645acd035dce6eba61 Binary files /dev/null and b/docs/annotation/cityscapes_demo/leftImg8bit/train/stuttgart/stuttgart_000072_000019_leftImg8bit.png differ diff --git a/docs/annotation/cityscapes_demo/leftImg8bit/val/frankfurt/frankfurt_000001_062250_leftImg8bit.png b/docs/annotation/cityscapes_demo/leftImg8bit/val/frankfurt/frankfurt_000001_062250_leftImg8bit.png new file mode 100755 index 0000000000000000000000000000000000000000..de0b21d160edc2dd4c7c8d553a5a5f090b4bfd5b Binary files /dev/null and b/docs/annotation/cityscapes_demo/leftImg8bit/val/frankfurt/frankfurt_000001_062250_leftImg8bit.png differ diff --git a/docs/annotation/cityscapes_demo/leftImg8bit/val/frankfurt/frankfurt_000001_063045_leftImg8bit.png b/docs/annotation/cityscapes_demo/leftImg8bit/val/frankfurt/frankfurt_000001_063045_leftImg8bit.png new file mode 100755 index 0000000000000000000000000000000000000000..f89272d2cb300f2070d9771d5181c8894d08d479 Binary files /dev/null and b/docs/annotation/cityscapes_demo/leftImg8bit/val/frankfurt/frankfurt_000001_063045_leftImg8bit.png differ diff --git a/docs/annotation/cityscapes_demo/train_list.txt b/docs/annotation/cityscapes_demo/train_list.txt new file mode 100755 index 0000000000000000000000000000000000000000..02a66f470664a7c598f0d28b8470195d9ef62b0d --- /dev/null +++ b/docs/annotation/cityscapes_demo/train_list.txt @@ -0,0 +1,2 @@ +leftImg8bit/train/stuttgart/stuttgart_000021_000019_leftImg8bit.png gtFine/train/stuttgart/stuttgart_000021_000019_gtFine_labelTrainIds.png +leftImg8bit/train/stuttgart/stuttgart_000072_000019_leftImg8bit.png gtFine/train/stuttgart/stuttgart_000072_000019_gtFine_labelTrainIds.png diff --git a/docs/annotation/cityscapes_demo/val_list.txt b/docs/annotation/cityscapes_demo/val_list.txt new file mode 100755 index 0000000000000000000000000000000000000000..609f78bc50cec0917d659f4f95411c7d8fef2e16 --- /dev/null +++ b/docs/annotation/cityscapes_demo/val_list.txt @@ -0,0 +1,2 @@ +leftImg8bit/val/frankfurt/frankfurt_000001_062250_leftImg8bit.png gtFine/val/frankfurt/frankfurt_000001_062250_gtFine_labelTrainIds.png +leftImg8bit/val/frankfurt/frankfurt_000001_063045_leftImg8bit.png gtFine/val/frankfurt/frankfurt_000001_063045_gtFine_labelTrainIds.png diff --git a/docs/annotation/jingling2seg.md b/docs/annotation/jingling2seg.md index 4e124962c3ae6ca4293ce0f0474591f3d7deec21..e848082fd47befefd7873418726a842392591708 100644 --- a/docs/annotation/jingling2seg.md +++ b/docs/annotation/jingling2seg.md @@ -81,7 +81,7 @@ pip install pillow * 运行以下代码,将标注后的数据转换成满足以上格式的数据集: ``` - python jingling2seg.py + python docs/annotation/jingling2seg.py ``` 其中,``为精灵标注产出的json文件所在文件夹的目录,一般为精灵工具使用(3)中`保存位置`下的`outputs`目录。``为转换后的数据集所在文件夹的目录。 diff --git a/docs/annotation/labelme2seg.md b/docs/annotation/labelme2seg.md index e501b3706b59b73b83ea5b651c3cb63cd6f52051..07ee98c8886dc88271ea0817f8aa9d95a0888795 100644 --- a/docs/annotation/labelme2seg.md +++ b/docs/annotation/labelme2seg.md @@ -91,7 +91,7 @@ pip install pillow * 运行以下代码,将标注后的数据转换成满足以上格式的数据集: ``` - python labelme2seg.py + python docs/annotation/labelme2seg.py ``` 其中,``为图片以及LabelMe产出的json文件所在文件夹的目录,``为转换后的数据集所在文件夹的目录。**需注意的是:``不用预先创建,脚本运行时会自动创建,否则会报错。** diff --git a/docs/data_prepare.md b/docs/data_prepare.md index 87d0ced32811c3772d1e7cafdee00fcb2e1a148d..50864a730a534c4a0e5eba84fb11dfb1bb9c542d 100644 --- a/docs/data_prepare.md +++ b/docs/data_prepare.md @@ -75,7 +75,7 @@ PaddleSeg采用通用的文件列表方式组织训练集、验证集和测试 不可在`DATASET.TRAIN_FILE_LIST`和`DATASET.VAL_FILE_LIST`配置项中使用。 -完整的配置信息可以参考[`./dataset/cityscapes_demo`](../dataset/cityscapes_demo/)目录下的yaml和文件列表。 +完整的配置信息可以参考[`./docs/annotation/cityscapes_demo`](../docs/annotation/cityscapes_demo/)目录下的yaml和文件列表。 ### 文件列表生成 PaddleSeg提供了生成文件列表的使用脚本,可适用于自定义数据集或cityscapes数据集,并支持通过不同的Flags来开启特定功能。