From d5d89105417e3015d1f6385df0cd56b6256f92ae Mon Sep 17 00:00:00 2001 From: thijn Date: Thu, 29 Sep 2022 15:02:31 +0200 Subject: [PATCH] Update 'dreambooth_runpod_joepenna.ipynb' --- dreambooth_runpod_joepenna.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dreambooth_runpod_joepenna.ipynb b/dreambooth_runpod_joepenna.ipynb index 38163b8..e142ea4 100644 --- a/dreambooth_runpod_joepenna.ipynb +++ b/dreambooth_runpod_joepenna.ipynb @@ -98,7 +98,7 @@ }, { "cell_type": "code", - "source": "#@markdown Add here the URLs to the images of the concept you are adding\nurls = [\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121625.png\",\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121630.png\",\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121632.png\",\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121636.png\",\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121637.png\",\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121640.png\",\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121642.png\",\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121644.png\",\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121647.png\",\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121649.png\",\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121653.png\",\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121656.png\",\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121659.png\",\n\"https://prodesk.home.thijn.ovh/gijs/IMG_20220926_121702.png\"\n ## You can add additional images here\n]", + "source": "#@markdown Add here the URLs to the images of the concept you are adding\nurls = [\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0133.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0134.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0135.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0136.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0137.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0138.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0139.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0140.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0141.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0142.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0143.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0144.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0145.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0146.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0147.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0148.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0149.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0150.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0151.png\",\n\"https://prodesk.home.thijn.ovh/thijn/IMG_0152.png\"\n ## You can add additional images here\n]", "metadata": { "collapsed": false, "jupyter": { @@ -132,7 +132,7 @@ }, { "cell_type": "code", - "source": "# START THE TRAINING\nproject_name = \"gijsbert\"\nbatch_size = 1000\nclass_word = \"man\" # << match this word to the class word from regularization images above\nreg_data_root = \"/workspace/Dreambooth-Stable-Diffusion/outputs/txt2img-samples/samples/\" + dataset\n\n!rm -rf training_samples/.ipynb_checkpoints\n!python \"main.py\" \\\n --base configs/stable-diffusion/v1-finetune_unfrozen.yaml \\\n -t \\\n --actual_resume \"model.ckpt\" \\\n --reg_data_root {reg_data_root} \\\n -n {project_name} \\\n --gpus 0, \\\n --data_root \"/workspace/Dreambooth-Stable-Diffusion/training_samples\" \\\n --batch_size {batch_size} \\\n --class_word class_word", + "source": "# START THE TRAINING\nproject_name = \"thijngeurts\"\nbatch_size = 1000\nclass_word = \"man\" # << match this word to the class word from regularization images above\nreg_data_root = \"/workspace/Dreambooth-Stable-Diffusion/outputs/txt2img-samples/samples/\" + dataset\n\n!rm -rf training_samples/.ipynb_checkpoints\n!python \"main.py\" \\\n --base configs/stable-diffusion/v1-finetune_unfrozen.yaml \\\n -t \\\n --actual_resume \"model.ckpt\" \\\n --reg_data_root {reg_data_root} \\\n -n {project_name} \\\n --gpus 0, \\\n --data_root \"/workspace/Dreambooth-Stable-Diffusion/training_samples\" \\\n --batch_size {batch_size} \\\n --class_word class_word", "metadata": { "id": "6fa5dd66-2ca0-4819-907e-802e25583ae6", "tags": [] @@ -202,7 +202,7 @@ }, { "cell_type": "code", - "source": "!echo python scripts/stable_txt2img.py \\\n --ddim_eta 0.0 \\\n --n_samples 1 \\\n --n_iter 4 \\\n --scale 7.0 \\\n --ddim_steps 50 \\\n --ckpt \"/workspace/Dreambooth-Stable-Diffusion/trained_models/\" + {file_name} \\\n --prompt \"gijsbert person as a masterpiece portrait painting by John Singer Sargent in the style of Rembrandt\"", + "source": "!echo python scripts/stable_txt2img.py \\\n --ddim_eta 0.0 \\\n --n_samples 1 \\\n --n_iter 4 \\\n --scale 7.0 \\\n --ddim_steps 50 \\\n --ckpt \"/workspace/Dreambooth-Stable-Diffusion/trained_models/\" + {file_name} \\\n --prompt \"thijngeurts person as a masterpiece portrait painting by John Singer Sargent in the style of Rembrandt\"", "metadata": { "trusted": true },