Skip to content

Commit bdc44c1

Browse files
committed
UNet3D
1 parent 5428046 commit bdc44c1

File tree

5 files changed

+560
-0
lines changed

5 files changed

+560
-0
lines changed

src/diffusers/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@
198198
"UNet1DModel",
199199
"UNet2DConditionModel",
200200
"UNet2DModel",
201+
"UNet3DModel",
201202
"UNet3DConditionModel",
202203
"UNetControlNetXSModel",
203204
"UNetMotionModel",
@@ -761,6 +762,7 @@
761762
UNet2DConditionModel,
762763
UNet2DModel,
763764
UNet3DConditionModel,
765+
UNet3DModel,
764766
UNetControlNetXSModel,
765767
UNetMotionModel,
766768
UNetSpatioTemporalConditionModel,

src/diffusers/models/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
_import_structure["unets.unet_1d"] = ["UNet1DModel"]
8787
_import_structure["unets.unet_2d"] = ["UNet2DModel"]
8888
_import_structure["unets.unet_2d_condition"] = ["UNet2DConditionModel"]
89+
_import_structure["unets.unet_3d"] = ["UNet3DModel"]
8990
_import_structure["unets.unet_3d_condition"] = ["UNet3DConditionModel"]
9091
_import_structure["unets.unet_i2vgen_xl"] = ["I2VGenXLUNet"]
9192
_import_structure["unets.unet_kandinsky3"] = ["Kandinsky3UNet"]
@@ -176,6 +177,7 @@
176177
UNet2DConditionModel,
177178
UNet2DModel,
178179
UNet3DConditionModel,
180+
UNet3DModel,
179181
UNetMotionModel,
180182
UNetSpatioTemporalConditionModel,
181183
UVit2DModel,

src/diffusers/models/unets/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
from .unet_1d import UNet1DModel
66
from .unet_2d import UNet2DModel
77
from .unet_2d_condition import UNet2DConditionModel
8+
from .unet_3d import UNet3DModel
89
from .unet_3d_condition import UNet3DConditionModel
910
from .unet_i2vgen_xl import I2VGenXLUNet
1011
from .unet_kandinsky3 import Kandinsky3UNet

0 commit comments

Comments
 (0)