@@ -84,26 +84,7 @@ Check the [custom scripts](https://github.com/AUTOMATIC1111/stable-diffusion-web
...
@@ -84,26 +84,7 @@ Check the [custom scripts](https://github.com/AUTOMATIC1111/stable-diffusion-web
- API
- API
- Support for dedicated [inpainting model](https://github.com/runwayml/stable-diffusion#inpainting-with-stable-diffusion) by RunwayML.
- Support for dedicated [inpainting model](https://github.com/runwayml/stable-diffusion#inpainting-with-stable-diffusion) by RunwayML.
- via extension: [Aesthetic Gradients](https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients), a way to generate images with a specific aesthetic by using clip images embds (implementation of [https://github.com/vicgalle/stable-diffusion-aesthetic-gradients](https://github.com/vicgalle/stable-diffusion-aesthetic-gradients))
- via extension: [Aesthetic Gradients](https://github.com/AUTOMATIC1111/stable-diffusion-webui-aesthetic-gradients), a way to generate images with a specific aesthetic by using clip images embds (implementation of [https://github.com/vicgalle/stable-diffusion-aesthetic-gradients](https://github.com/vicgalle/stable-diffusion-aesthetic-gradients))
-[Stable Diffusion 2.0](https://github.com/Stability-AI/stablediffusion) support - see [wiki](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Features#stable-diffusion-20) for instructions
## Where are Aesthetic Gradients?!?!
Aesthetic Gradients are now an extension. You can install it using git:
After running this command, make sure that you have `images-browser` dir in webui's `extensions` directory and restart
the UI. The interface for Image browser should appear exactly the same as it was.
## Installation and Running
## Installation and Running
Make sure the required [dependencies](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Dependencies) are met and follow the instructions available for both [NVidia](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-NVidia-GPUs)(recommended) and [AMD](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs) GPUs.
Make sure the required [dependencies](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Dependencies) are met and follow the instructions available for both [NVidia](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-NVidia-GPUs)(recommended) and [AMD](https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs) GPUs.
parser.add_argument("--config",type=str,default=os.path.join(sd_path,"configs/stable-diffusion/v1-inference.yaml"),help="path to config which constructs model",)
parser.add_argument("--config",type=str,default=os.path.join(script_path,"v1-inference.yaml"),help="path to config which constructs model",)
parser.add_argument("--ckpt",type=str,default=sd_model_file,help="path to checkpoint of stable diffusion model; if specified, this checkpoint will be added to the list of checkpoints and loaded",)
parser.add_argument("--ckpt",type=str,default=sd_model_file,help="path to checkpoint of stable diffusion model; if specified, this checkpoint will be added to the list of checkpoints and loaded",)
parser.add_argument("--ckpt-dir",type=str,default=None,help="Path to directory with stable diffusion checkpoints")
parser.add_argument("--ckpt-dir",type=str,default=None,help="Path to directory with stable diffusion checkpoints")
"unload_models_when_training":OptionInfo(False,"Move VAE and CLIP to RAM when training if possible. Saves VRAM."),
"unload_models_when_training":OptionInfo(False,"Move VAE and CLIP to RAM when training if possible. Saves VRAM."),
"shuffle_tags":OptionInfo(False,"Shuffleing tags by ',' when create texts."),
"pin_memory":OptionInfo(False,"Turn on pin_memory for DataLoader. Makes training slightly faster but can increase memory usage."),
"tag_drop_out":OptionInfo(0,"Dropout tags when create texts",gr.Slider,{"minimum":0,"maximum":1,"step":0.1}),
"save_optimizer_state":OptionInfo(False,"Saves Optimizer state as separate *.optim file. Training can be resumed with HN itself and matching optim file."),
"save_optimizer_state":OptionInfo(False,"Saves Optimizer state as separate *.optim file. Training can be resumed with HN itself and matching optim file."),
"dataset_filename_word_regex":OptionInfo("","Filename word regex"),
"dataset_filename_word_regex":OptionInfo("","Filename word regex"),
"hide_samplers":OptionInfo([],"Hide samplers in user interface (requires restart)",gr.CheckboxGroup,lambda:{"choices":[x.nameforxinsd_samplers.all_samplers]}),
"hide_samplers":OptionInfo([],"Hide samplers in user interface (requires restart)",gr.CheckboxGroup,lambda:{"choices":[x.nameforxinlist_samplers()]}),
"eta_ddim":OptionInfo(0.0,"eta (noise multiplier) for DDIM",gr.Slider,{"minimum":0.0,"maximum":1.0,"step":0.01}),
"eta_ddim":OptionInfo(0.0,"eta (noise multiplier) for DDIM",gr.Slider,{"minimum":0.0,"maximum":1.0,"step":0.01}),
"eta_ancestral":OptionInfo(1.0,"eta (noise multiplier) for ancestral samplers",gr.Slider,{"minimum":0.0,"maximum":1.0,"step":0.01}),
"eta_ancestral":OptionInfo(1.0,"eta (noise multiplier) for ancestral samplers",gr.Slider,{"minimum":0.0,"maximum":1.0,"step":0.01}),
"ddim_discretize":OptionInfo('uniform',"img2img DDIM discretize",gr.Radio,{"choices":['uniform','quad']}),
"ddim_discretize":OptionInfo('uniform',"img2img DDIM discretize",gr.Radio,{"choices":['uniform','quad']}),
new_hypernetwork_layer_structure=gr.Textbox("1, 2, 1",label="Enter hypernetwork layer structure",placeholder="1st and last digit must be 1. ex:'1, 2, 1'")
new_hypernetwork_layer_structure=gr.Textbox("1, 2, 1",label="Enter hypernetwork layer structure",placeholder="1st and last digit must be 1. ex:'1, 2, 1'")
new_hypernetwork_activation_func=gr.Dropdown(value="linear",label="Select activation function of hypernetwork. Recommended : Swish / Linear(none)",choices=modules.hypernetworks.ui.keys)
new_hypernetwork_activation_func=gr.Dropdown(value="linear",label="Select activation function of hypernetwork. Recommended : Swish / Linear(none)",choices=modules.hypernetworks.ui.keys)
new_hypernetwork_initialization_option=gr.Dropdown(value="Normal",label="Select Layer weights initialization. Recommended: Kaiming for relu-like, Xavier for sigmoid-like, Normal otherwise",choices=["Normal","KaimingUniform","KaimingNormal","XavierUniform","XavierNormal"])
new_hypernetwork_initialization_option=gr.Dropdown(value="Normal",label="Select Layer weights initialization. Recommended: Kaiming for relu-like, Xavier for sigmoid-like, Normal otherwise",choices=["Normal","KaimingUniform","KaimingNormal","XavierUniform","XavierNormal"])