From d9a5e6993d11196d45f94d53b53bada628c3578c Mon Sep 17 00:00:00 2001 From: Somnai Date: Tue, 8 Mar 2022 09:08:05 +1100 Subject: [PATCH] Reverted default to ddim --- Disco_Diffusion.ipynb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Disco_Diffusion.ipynb b/Disco_Diffusion.ipynb index 739acab..64c61f5 100644 --- a/Disco_Diffusion.ipynb +++ b/Disco_Diffusion.ipynb @@ -7,7 +7,7 @@ "colab_type": "text" }, "source": [ - "\"Open" + "\"Open" ] }, { @@ -2102,9 +2102,9 @@ "#@markdown ####**Models Settings:**\n", "diffusion_model = \"512x512_diffusion_uncond_finetune_008100\" #@param [\"256x256_diffusion_uncond\", \"512x512_diffusion_uncond_finetune_008100\"]\n", "use_secondary_model = True #@param {type: 'boolean'}\n", - "sampling_mode = 'plms' #@param ['plms','ddim'] \n", + "sampling_mode = 'ddim' #@param ['plms','ddim'] \n", "\n", - "timestep_respacing = '150' # param ['25','50','100','150','250','500','1000','ddim25','ddim50', 'ddim75', 'ddim100','ddim150','ddim250','ddim500','ddim1000'] \n", + "timestep_respacing = '250' # param ['25','50','100','150','250','500','1000','ddim25','ddim50', 'ddim75', 'ddim100','ddim150','ddim250','ddim500','ddim1000'] \n", "diffusion_steps = 1000 # param {type: 'number'}\n", "use_checkpoint = True #@param {type: 'boolean'}\n", "ViTB32 = True #@param{type:\"boolean\"}\n", @@ -2302,7 +2302,7 @@ "source": [ "#@markdown ####**Basic Settings:**\n", "batch_name = 'TimeToDisco' #@param{type: 'string'}\n", - "steps = 150 #@param [25,50,100,150,250,500,1000]{type: 'raw', allow-input: true}\n", + "steps = 250 #@param [25,50,100,150,250,500,1000]{type: 'raw', allow-input: true}\n", "width_height = [1280, 768]#@param{type: 'raw'}\n", "clip_guidance_scale = 5000 #@param{type: 'number'}\n", "tv_scale = 0#@param{type: 'number'}\n", @@ -2316,7 +2316,7 @@ "#@markdown ####**Init Settings:**\n", "init_image = None #@param{type: 'string'}\n", "init_scale = 1000 #@param{type: 'integer'}\n", - "skip_steps = 0 #@param{type: 'integer'}\n", + "skip_steps = 10 #@param{type: 'integer'}\n", "#@markdown *Make sure you set skip_steps to ~50% of your steps if you want to use an init image.*\n", "\n", "#Get corrected sizes\n", @@ -3109,4 +3109,4 @@ }, "nbformat": 4, "nbformat_minor": 0 -} \ No newline at end of file +}