Skip to content
This repository was archived by the owner on Oct 22, 2023. It is now read-only.

Commit d3f3d58

Browse files
committed
correction token name example notebook collab
1 parent 94c99ab commit d3f3d58

1 file changed

Lines changed: 16 additions & 24 deletions

File tree

examples/dreambooth/DreamBooth_Stable_Diffusion.ipynb

Lines changed: 16 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
{
44
"cell_type": "markdown",
55
"metadata": {
6-
"id": "view-in-github",
7-
"colab_type": "text"
6+
"colab_type": "text",
7+
"id": "view-in-github"
88
},
99
"source": [
1010
"<a href=\"https://colab.research.google.com/github/EriveltonLima/dreambooth-tutorial/blob/main/examples/dreambooth/DreamBooth_Stable_Diffusion.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
1111
]
1212
},
1313
{
1414
"cell_type": "code",
15-
"execution_count": 6,
15+
"execution_count": null,
1616
"metadata": {
1717
"cellView": "form",
1818
"colab": {
@@ -21,15 +21,7 @@
2121
"id": "XU7NuMAA2drw",
2222
"outputId": "7ce212dc-baca-4b1b-9a4f-1ee7ea576cf7"
2323
},
24-
"outputs": [
25-
{
26-
"output_type": "stream",
27-
"name": "stdout",
28-
"text": [
29-
"Tesla T4, 15109 MiB, 15109 MiB\n"
30-
]
31-
}
32-
],
24+
"outputs": [],
3325
"source": [
3426
"#@markdown Check type of GPU and VRAM available.\n",
3527
"!nvidia-smi --query-gpu=name,memory.total,memory.free --format=csv,noheader"
@@ -57,16 +49,16 @@
5749
"cell_type": "code",
5850
"execution_count": 7,
5951
"metadata": {
60-
"id": "aLWXPZqjsZVV",
6152
"colab": {
6253
"base_uri": "https://localhost:8080/"
6354
},
55+
"id": "aLWXPZqjsZVV",
6456
"outputId": "855f2f61-ebc8-4149-9139-ca82ef70648a"
6557
},
6658
"outputs": [
6759
{
68-
"output_type": "stream",
6960
"name": "stdout",
61+
"output_type": "stream",
7062
"text": [
7163
" Installing build dependencies ... \u001b[?25l\u001b[?25hdone\n",
7264
" Getting requirements to build wheel ... \u001b[?25l\u001b[?25hdone\n",
@@ -121,8 +113,8 @@
121113
},
122114
"outputs": [
123115
{
124-
"output_type": "stream",
125116
"name": "stdout",
117+
"output_type": "stream",
126118
"text": [
127119
"\u001b[K |████████████████████████████████| 113.2 MB 62 kB/s \n",
128120
"\u001b[?25h"
@@ -226,10 +218,10 @@
226218
"\n",
227219
"concepts_list = [\n",
228220
" {\n",
229-
" \"instance_prompt\": \"stableianaty\",\n",
221+
" \"instance_prompt\": \"Tokenhugging\",\n",
230222
" \"class_prompt\": \"photo of a person\",\n",
231-
" \"instance_data_dir\": \"/content/data/stableianaty\",\n",
232-
" \"class_data_dir\": \"/content/data/dog\"\n",
223+
" \"instance_data_dir\": \"/content/data/Tokenhugging\",\n",
224+
" \"class_data_dir\": \"/content/data/person\"\n",
233225
" },\n",
234226
"# {\n",
235227
"# \"instance_prompt\": \"photo of ukj person\",\n",
@@ -280,16 +272,16 @@
280272
"cell_type": "code",
281273
"execution_count": 12,
282274
"metadata": {
283-
"id": "jjcSXTp-u-Eg",
284275
"colab": {
285276
"base_uri": "https://localhost:8080/"
286277
},
278+
"id": "jjcSXTp-u-Eg",
287279
"outputId": "9b88c5b3-fc94-496d-d48f-67a3aafb0805"
288280
},
289281
"outputs": [
290282
{
291-
"output_type": "stream",
292283
"name": "stdout",
284+
"output_type": "stream",
293285
"text": [
294286
"The following values were not passed to `accelerate launch` and had defaults used instead:\n",
295287
"\t`--num_processes` was set to a value of `1`\n",
@@ -365,7 +357,7 @@
365357
" --sample_batch_size=20 \\\n",
366358
" --max_train_steps=800 \\\n",
367359
" --save_interval=10000 \\\n",
368-
" --save_sample_prompt=\"stableianaty\" \\\n",
360+
" --save_sample_prompt=\"Tokenhugging\" \\\n",
369361
" --concepts_list=\"concepts_list.json\"\n",
370362
"\n",
371363
"# Reduce the `--save_interval` to lower than `--max_train_steps` to save weights from intermediate steps.\n",
@@ -709,8 +701,8 @@
709701
"metadata": {
710702
"accelerator": "GPU",
711703
"colab": {
712-
"provenance": [],
713-
"include_colab_link": true
704+
"include_colab_link": true,
705+
"provenance": []
714706
},
715707
"kernelspec": {
716708
"display_name": "Python 3 (ipykernel)",
@@ -737,4 +729,4 @@
737729
},
738730
"nbformat": 4,
739731
"nbformat_minor": 0
740-
}
732+
}

0 commit comments

Comments
 (0)