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: