mirror of
https://github.com/huggingface/diffusers.git
synced 2026-01-27 17:22:53 +03:00
Fix redundant prev_output_channel assignment in UNet2DModel (#10945)
This commit is contained in:
@@ -240,7 +240,6 @@ class UNet2DModel(ModelMixin, ConfigMixin):
|
||||
dropout=dropout,
|
||||
)
|
||||
self.up_blocks.append(up_block)
|
||||
prev_output_channel = output_channel
|
||||
|
||||
# out
|
||||
num_groups_out = norm_num_groups if norm_num_groups is not None else min(block_out_channels[0] // 4, 32)
|
||||
|
||||
Reference in New Issue
Block a user