mirror of
https://github.com/open-mmlab/mmsegmentation.git
synced 2025-06-03 22:03:48 +08:00
[Doc] Add annotaion format note (#77)
This commit is contained in:
parent
e951076bf2
commit
03ba9c6c26
@ -38,6 +38,9 @@ Only
|
|||||||
`data/my_dataset/ann_dir/train/xxx{seg_map_suffix}`,
|
`data/my_dataset/ann_dir/train/xxx{seg_map_suffix}`,
|
||||||
`data/my_dataset/ann_dir/train/zzz{seg_map_suffix}` will be loaded.
|
`data/my_dataset/ann_dir/train/zzz{seg_map_suffix}` will be loaded.
|
||||||
|
|
||||||
|
Note: The annotations are images of shape (H, W), the value pixel should fall in range `[0, num_classes - 1]`.
|
||||||
|
You may use `'P'` mode of [pillow](https://pillow.readthedocs.io/en/stable/handbook/concepts.html#palette) to create your annotation image with color.
|
||||||
|
|
||||||
## Customize datasets by mixing dataset
|
## Customize datasets by mixing dataset
|
||||||
|
|
||||||
MMSegmentation also supports to mix dataset for training.
|
MMSegmentation also supports to mix dataset for training.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user