Skip to content

U-Net architecture: Upsampling path #15

@pimakshay

Description

@pimakshay

Hi Rosinality.
I was going through the U-Net architecture you implemented for DDPM. I couldn't understand why you have added one extra resnet block in the upsampling path while not including it in the downsampling path (located in the 'model.py' file, specifically at line 346). Could you please clarify the reasoning behind this design choice?

up_layers = []
for i in reversed(range(n_block)):
  for _ in range(n_res_blocks + 1):
     channel_mult = channel * channel_multiplier[i]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions