Reverted default to ddim

pull/3/head
Somnai 3 years ago committed by GitHub
parent 4c706c98a9
commit d9a5e6993d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      Disco_Diffusion.ipynb

@ -7,7 +7,7 @@
"colab_type": "text" "colab_type": "text"
}, },
"source": [ "source": [
"<a href=\"https://colab.research.google.com/github/alembics/disco-diffusion/blob/dev/Disco_Diffusion.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>" "<a href=\"https://colab.research.google.com/github/alembics/disco-diffusion/blob/main/Disco_Diffusion.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
] ]
}, },
{ {
@ -2102,9 +2102,9 @@
"#@markdown ####**Models Settings:**\n", "#@markdown ####**Models Settings:**\n",
"diffusion_model = \"512x512_diffusion_uncond_finetune_008100\" #@param [\"256x256_diffusion_uncond\", \"512x512_diffusion_uncond_finetune_008100\"]\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", "use_secondary_model = True #@param {type: 'boolean'}\n",
"sampling_mode = 'plms' #@param ['plms','ddim'] \n", "sampling_mode = 'ddim' #@param ['plms','ddim'] \n",
"\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", "diffusion_steps = 1000 # param {type: 'number'}\n",
"use_checkpoint = True #@param {type: 'boolean'}\n", "use_checkpoint = True #@param {type: 'boolean'}\n",
"ViTB32 = True #@param{type:\"boolean\"}\n", "ViTB32 = True #@param{type:\"boolean\"}\n",
@ -2302,7 +2302,7 @@
"source": [ "source": [
"#@markdown ####**Basic Settings:**\n", "#@markdown ####**Basic Settings:**\n",
"batch_name = 'TimeToDisco' #@param{type: 'string'}\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", "width_height = [1280, 768]#@param{type: 'raw'}\n",
"clip_guidance_scale = 5000 #@param{type: 'number'}\n", "clip_guidance_scale = 5000 #@param{type: 'number'}\n",
"tv_scale = 0#@param{type: 'number'}\n", "tv_scale = 0#@param{type: 'number'}\n",
@ -2316,7 +2316,7 @@
"#@markdown ####**Init Settings:**\n", "#@markdown ####**Init Settings:**\n",
"init_image = None #@param{type: 'string'}\n", "init_image = None #@param{type: 'string'}\n",
"init_scale = 1000 #@param{type: 'integer'}\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", "#@markdown *Make sure you set skip_steps to ~50% of your steps if you want to use an init image.*\n",
"\n", "\n",
"#Get corrected sizes\n", "#Get corrected sizes\n",
@ -3109,4 +3109,4 @@
}, },
"nbformat": 4, "nbformat": 4,
"nbformat_minor": 0 "nbformat_minor": 0
} }

Loading…
Cancel
Save