aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguaneec <guaneec@users.noreply.github.com>2022-10-26 07:00:03 +0000
committerGitHub <noreply@github.com>2022-10-26 07:00:03 +0000
commit91bb35b1e6842b30ce7553009c8ecea3643de8d2 (patch)
tree4877b6596f3865a6efe1d5119abe82bdc7d5c57f
parent649d79a8ecd20ccf3c375f7116eee4809f844e3c (diff)
downloadstable-diffusion-webui-gfx803-91bb35b1e6842b30ce7553009c8ecea3643de8d2.tar.gz
stable-diffusion-webui-gfx803-91bb35b1e6842b30ce7553009c8ecea3643de8d2.tar.bz2
stable-diffusion-webui-gfx803-91bb35b1e6842b30ce7553009c8ecea3643de8d2.zip
Merge fix
-rw-r--r--modules/hypernetworks/hypernetwork.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/hypernetworks/hypernetwork.py b/modules/hypernetworks/hypernetwork.py
index eab8b32f..bd171793 100644
--- a/modules/hypernetworks/hypernetwork.py
+++ b/modules/hypernetworks/hypernetwork.py
@@ -190,7 +190,7 @@ class Hypernetwork:
print(f"Weight initialization is {self.weight_init}")
self.add_layer_norm = state_dict.get('is_layer_norm', False)
print(f"Layer norm is set to {self.add_layer_norm}")
- self.use_dropout = state_dict.get('use_dropout', False
+ self.use_dropout = state_dict.get('use_dropout', False)
print(f"Dropout usage is set to {self.use_dropout}" )
self.activate_output = state_dict.get('activate_output', True)