We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents bd43318 + 561a747 commit 92280efCopy full SHA for 92280ef
hackathon/dreambooth.ipynb
@@ -370,6 +370,7 @@
370
]
371
},
372
{
373
+ "attachments": {},
374
"cell_type": "markdown",
375
"id": "c1ef3d21-6e0e-46c9-a459-8a2ab856a5ca",
376
"metadata": {},
@@ -380,10 +381,9 @@
380
381
"from datasets import load_dataset\n",
382
"\n",
383
"dataset = load_dataset(\"imagefolder\", data_dir=\"your_folder_of_images\")\n",
- "# Remove the dummy label column\n",
384
- "dataset = dataset.remove_columns(\"label\")\n",
385
"# Push to Hub\n",
386
"dataset.push_to_hub(\"dreambooth-hackathon-images\")\n",
+ "dataset = dataset['train']\n",
387
"```"
388
389
0 commit comments