revised lint errors in dataset_prepare.md
parent
b2744ca4ac
commit
ed6cb48acf
|
@ -254,9 +254,9 @@ Since we only support test models on this dataset, you may only download [the va
|
|||
|
||||
Since we only support test models on this dataset, you may only download [the test set](http://data.vision.ee.ethz.ch/daid/NighttimeDriving/NighttimeDrivingTest.zip).
|
||||
|
||||
|
||||
### LoveDA
|
||||
The data could be downloaded [here](https://drive.google.com/drive/folders/1ibYV0qwn4yuuh068Rnc-w4tPi0U0c-ti?usp=sharing)
|
||||
|
||||
The data could be downloaded [here](https://drive.google.com/drive/folders/1ibYV0qwn4yuuh068Rnc-w4tPi0U0c-ti?usp=sharing).
|
||||
|
||||
For LoveDA dataset, please run the following command to download and re-organize the dataset.
|
||||
|
||||
|
@ -281,3 +281,5 @@ mv Train/Uban/masks_png/* ann_dir/train
|
|||
mv Val/Rural/masks_png/* ann_dir/val
|
||||
mv Val/Uban/masks_png/* ann_dir/val
|
||||
```
|
||||
|
||||
More details about LoveDA can be found [here](https://github.com/Junjue-Wang/LoveDA).
|
||||
|
|
|
@ -196,7 +196,6 @@ python tools/convert_datasets/stare.py /path/to/stare-images.tar /path/to/labels
|
|||
|
||||
因为我们只支持在此数据集上测试模型,所以您只需下载[测试集](http://data.vision.ee.ethz.ch/daid/NighttimeDriving/NighttimeDrivingTest.zip)。
|
||||
|
||||
|
||||
### LoveDA
|
||||
|
||||
下载[LoveDA数据集](https://drive.google.com/drive/folders/1ibYV0qwn4yuuh068Rnc-w4tPi0U0c-ti?usp=sharing)。
|
||||
|
@ -204,13 +203,16 @@ python tools/convert_datasets/stare.py /path/to/stare-images.tar /path/to/labels
|
|||
对于 LoveDA 数据集,请运行以下命令下载并组织数据集
|
||||
```shell
|
||||
# download
|
||||
|
||||
mkdir loveda && cd loveda
|
||||
wget https://drive.google.com/drive/folders/1ibYV0qwn4yuuh068Rnc-w4tPi0U0c-ti?usp=sharing
|
||||
|
||||
# unzip
|
||||
|
||||
unzip '*.zip'
|
||||
|
||||
# Convert into segmentation splits
|
||||
|
||||
mkdir -p img_dir/train img_dir/val img_dir/test ann_dir/train ann_dir/val
|
||||
mv Train/Rural/images_png/* img_dir/train
|
||||
mv Train/Urban/images_png/* img_dir/train
|
||||
|
@ -223,3 +225,5 @@ mv Train/Urban/masks_png/* ann_dir/train
|
|||
mv Val/Rural/masks_png/* ann_dir/val
|
||||
mv Val/Urban/masks_png/* ann_dir/val
|
||||
```
|
||||
|
||||
关于 LoveDA 的更多细节可以在[这里](https://github.com/Junjue-Wang/LoveDA)找到。
|
Loading…
Reference in New Issue