Unverified Commit 09129842 authored by Phil Butler's avatar Phil Butler Committed by GitHub
Browse files

Remove redundant lines (#7396)


Co-authored-by: default avatarDhruv Nair <dhruv.nair@gmail.com>
Co-authored-by: default avatarYiYi Xu <yixu310@gmail.com>
parent 33b363ed
......@@ -90,7 +90,6 @@ class Encoder(nn.Module):
padding=1,
)
self.mid_block = None
self.down_blocks = nn.ModuleList([])
# down
......@@ -228,7 +227,6 @@ class Decoder(nn.Module):
padding=1,
)
self.mid_block = None
self.up_blocks = nn.ModuleList([])
temb_channels = in_channels if norm_type == "spatial" else None
......@@ -474,7 +472,6 @@ class MaskConditionDecoder(nn.Module):
padding=1,
)
self.mid_block = None
self.up_blocks = nn.ModuleList([])
temb_channels = in_channels if norm_type == "spatial" else None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment