diff --git a/docs/tutorials/new_dataset.md b/docs/tutorials/new_dataset.md index 0ad1019e0e..6118904765 100644 --- a/docs/tutorials/new_dataset.md +++ b/docs/tutorials/new_dataset.md @@ -38,6 +38,9 @@ Only `data/my_dataset/ann_dir/train/xxx{seg_map_suffix}`, `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 MMSegmentation also supports to mix dataset for training. diff --git a/mmseg/__init__.py b/mmseg/__init__.py index 11376951e9..abaee58890 100644 --- a/mmseg/__init__.py +++ b/mmseg/__init__.py @@ -3,7 +3,7 @@ from .version import __version__, version_info MMCV_MIN = '1.0.5' -MMCV_MAX = '1.0.5' +MMCV_MAX = '1.1.0' def digit_version(version_str):