From e5b79b8b86fbe13f645aed724d6c3d2a0275b4d2 Mon Sep 17 00:00:00 2001 From: LutaoChu <30695251+LutaoChu@users.noreply.github.com> Date: Thu, 26 Sep 2019 10:23:01 +0800 Subject: [PATCH] fix some typo (#48) * Update download_and_convert_voc2012.py --- dataset/download_and_convert_voc2012.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dataset/download_and_convert_voc2012.py b/dataset/download_and_convert_voc2012.py index 45dc2886..eef2e5de 100644 --- a/dataset/download_and_convert_voc2012.py +++ b/dataset/download_and_convert_voc2012.py @@ -29,13 +29,13 @@ from convert_voc2012 import save_annotation -def download_pet_dataset(savepath, extrapath): +def download_VOC_dataset(savepath, extrapath): url = "https://paddleseg.bj.bcebos.com/dataset/VOCtrainval_11-May-2012.tar" download_file_and_uncompress( url=url, savepath=savepath, extrapath=extrapath) if __name__ == "__main__": - download_pet_dataset(LOCAL_PATH, LOCAL_PATH) + download_VOC_dataset(LOCAL_PATH, LOCAL_PATH) print("Dataset download finish!") pascal_root = "./VOCtrainval_11-May-2012/VOC2012" -- GitLab