Update unet/conditional_unet_model.py
Browse files
unet/conditional_unet_model.py
CHANGED
@@ -13,6 +13,13 @@ from diffusers.models.embeddings import GaussianFourierProjection, TimestepEmbed
|
|
13 |
from diffusers.models.modeling_utils import ModelMixin
|
14 |
from diffusers.models.unets.unet_2d_blocks import UNetMidBlock2D, get_down_block, get_up_block
|
15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
@dataclass
|
17 |
class UNet2DOutput(BaseOutput):
|
18 |
"""
|
|
|
13 |
from diffusers.models.modeling_utils import ModelMixin
|
14 |
from diffusers.models.unets.unet_2d_blocks import UNetMidBlock2D, get_down_block, get_up_block
|
15 |
|
16 |
+
NUM_CLASSES_FLOOR_HUE = 10
|
17 |
+
NUM_CLASSES_OBJECT_HUE = 10
|
18 |
+
NUM_CLASSES_ORIENTATION = 15
|
19 |
+
NUM_CLASSES_SCALE = 8
|
20 |
+
NUM_CLASSES_SHAPE = 4
|
21 |
+
NUM_CLASSES_WALL_HUE = 10
|
22 |
+
|
23 |
@dataclass
|
24 |
class UNet2DOutput(BaseOutput):
|
25 |
"""
|