From 31a089df56ea13d732aa5e9abde3fc1f4ee9fb30 Mon Sep 17 00:00:00 2001 From: liuzx Date: Tue, 9 May 2023 15:59:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'openi.py'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- openi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/openi.py b/openi.py index 5b2f9bf..7068bc1 100644 --- a/openi.py +++ b/openi.py @@ -112,6 +112,7 @@ def c2net_multidataset_to_env(multi_data_url, data_dir): filePath = data_dir + "/" + filename if not os.path.exists(filePath): os.makedirs(filePath) + #If it is a tar compressed package, you can use os.system("tar -xvf {} {}".format(zipfile_path, filePath)) os.system("unzip {} -d {}".format(zipfile_path, filePath)) except Exception as e: