Update main.py
Browse files
main.py
CHANGED
|
@@ -121,6 +121,7 @@ def download_openi(datasets):
|
|
| 121 |
if not os.path.exists(extract_path):
|
| 122 |
os.makedirs(extract_path)
|
| 123 |
if use_unzip:
|
|
|
|
| 124 |
os.system(f'unzip {os.path.join(save_path, file_name)} -d {extract_path}')
|
| 125 |
else:
|
| 126 |
os.system(f'7z x {os.path.join(save_path, file_name)} -o{extract_path} -aoa')
|
|
|
|
| 121 |
if not os.path.exists(extract_path):
|
| 122 |
os.makedirs(extract_path)
|
| 123 |
if use_unzip:
|
| 124 |
+
print('鍛戒护',f'unzip {os.path.join(save_path, file_name)} -d {extract_path}')
|
| 125 |
os.system(f'unzip {os.path.join(save_path, file_name)} -d {extract_path}')
|
| 126 |
else:
|
| 127 |
os.system(f'7z x {os.path.join(save_path, file_name)} -o{extract_path} -aoa')
|