update
This commit is contained in:
@@ -226,13 +226,13 @@
|
||||
"import shutil\n",
|
||||
"from pathlib import Path\n",
|
||||
"\n",
|
||||
"VRCHLABI_ZIP = Path('dataset_vrchlabi.zip')\n",
|
||||
"VRCHLABI_YAML = Path('vrchlabi/dataset.yaml')\n",
|
||||
"VRCHLABI_ZIP = Path('data/dataset_vrchlabi.zip')\n",
|
||||
"VRCHLABI_YAML = Path('data/vrchlabi/dataset.yaml')\n",
|
||||
"\n",
|
||||
"if VRCHLABI_ZIP.exists() and not VRCHLABI_YAML.exists():\n",
|
||||
" print('Rozbaluji dataset_vrchlabi.zip ...')\n",
|
||||
" with zipfile.ZipFile(VRCHLABI_ZIP) as zf:\n",
|
||||
" zf.extractall('.')\n",
|
||||
" zf.extractall('.data/')\n",
|
||||
" print('Hotovo.')\n",
|
||||
"\n",
|
||||
"if not VRCHLABI_YAML.exists():\n",
|
||||
|
||||
Reference in New Issue
Block a user