зеркало из
https://github.com/ssciwr/AMMICO.git
synced 2025-10-30 05:26:05 +02:00
Update DemoNotebook_ammico.ipynb
cleanup
Этот коммит содержится в:
родитель
1527202ebb
Коммит
0cd86e4b8a
@ -78,7 +78,6 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"data_path = \"./data-test\"\n",
|
"data_path = \"./data-test\"\n",
|
||||||
"data_path = Path(data_path)\n",
|
"data_path = Path(data_path)\n",
|
||||||
"print(data_path)\n",
|
|
||||||
"data_path.mkdir(parents=True, exist_ok=True)\n",
|
"data_path.mkdir(parents=True, exist_ok=True)\n",
|
||||||
"# now save the files from the Huggingface dataset as images into the data_path folder\n",
|
"# now save the files from the Huggingface dataset as images into the data_path folder\n",
|
||||||
"for i, image in enumerate(dataset[\"train\"][\"image\"]):\n",
|
"for i, image in enumerate(dataset[\"train\"][\"image\"]):\n",
|
||||||
|
|||||||
Загрузка…
x
Ссылка в новой задаче
Block a user