Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
diffusers
Commits
ab8e5364
Commit
ab8e5364
authored
Jun 07, 2022
by
Patrick von Platen
Browse files
correct typo Config Mixin
parent
5b1af9ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/diffusers/models/unet.py
src/diffusers/models/unet.py
+2
-2
No files found.
src/diffusers/models/unet.py
View file @
ab8e5364
...
...
@@ -29,7 +29,7 @@ from torchvision import transforms, utils
from
PIL
import
Image
from
tqdm
import
tqdm
from
..configuration_utils
import
ConfigMixin
Mixin
from
..configuration_utils
import
ConfigMixin
from
..modeling_utils
import
ModelMixin
...
...
@@ -175,7 +175,7 @@ class AttnBlock(nn.Module):
return
x
+
h_
class
UNetModel
(
ModelMixin
,
ConfigMixin
Mixin
):
class
UNetModel
(
ModelMixin
,
ConfigMixin
):
def
__init__
(
self
,
ch
=
128
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment