Browse Source

Support softsign hypernetwork.

pull/625/head
comfyanonymous 2 years ago
parent
commit
1a31020081
  1. 1
      comfy_extras/nodes_hypernetwork.py

1
comfy_extras/nodes_hypernetwork.py

@ -18,6 +18,7 @@ def load_hypernetwork_patch(path, strength):
"swish": torch.nn.Hardswish,
"tanh": torch.nn.Tanh,
"sigmoid": torch.nn.Sigmoid,
"softsign": torch.nn.Softsign,
}
if activation_func not in valid_activation:

Loading…
Cancel
Save