Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
renzhc
diffusers_dcu
Commits
ab8e5364
".github/workflows/test-linux-cpu.yml" did not exist on "0ed5d81196868c0f87b7e3e89d28c998b759fc60"
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