diff options
author | discus0434 <discus0434@gmail.com> | 2022-10-20 11:07:37 +0000 |
---|---|---|
committer | discus0434 <discus0434@gmail.com> | 2022-10-20 11:07:37 +0000 |
commit | f8733ad08be08bafb40f4299785590e11f049e96 (patch) | |
tree | db3be93cda110234ec6fb110dd04eafb068b50e8 | |
parent | 6b38c2c19cbc4e536fa6d87bbe37dd4184e54db1 (diff) | |
download | stable-diffusion-webui-gfx803-f8733ad08be08bafb40f4299785590e11f049e96.tar.gz stable-diffusion-webui-gfx803-f8733ad08be08bafb40f4299785590e11f049e96.tar.bz2 stable-diffusion-webui-gfx803-f8733ad08be08bafb40f4299785590e11f049e96.zip |
add linear as a act func (option for doin nothing)
-rw-r--r-- | modules/ui.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ui.py b/modules/ui.py index 913b23b4..716f14b8 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -1224,7 +1224,7 @@ def create_ui(wrap_gradio_gpu_call): new_hypernetwork_sizes = gr.CheckboxGroup(label="Modules", value=["768", "320", "640", "1280"], choices=["768", "320", "640", "1280"])
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_add_layer_norm = gr.Checkbox(label="Add layer normalization")
- new_hypernetwork_activation_func = gr.Dropdown(value="relu", label="Select activation function of hypernetwork", choices=["relu", "leakyrelu"])
+ new_hypernetwork_activation_func = gr.Dropdown(value="relu", label="Select activation function of hypernetwork", choices=["linear", "relu", "leakyrelu"])
with gr.Row():
with gr.Column(scale=3):
|