This commit is contained in:
Lukáš Trkan
2026-05-01 22:06:01 +02:00
parent 2bd731620c
commit e8c1c3f2ee
9336 changed files with 231 additions and 403 deletions

View File

@@ -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",