mirror of
https://github.com/kohya-ss/sd-scripts.git
synced 2026-04-08 06:28:48 +00:00
Compare commits
2 Commits
main
...
7142e88e24
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7142e88e24 | ||
|
|
6447afa4c2 |
@@ -508,7 +508,7 @@ class DownBlock2D(nn.Module):
|
||||
self.resnets = nn.ModuleList(resnets)
|
||||
|
||||
if add_downsample:
|
||||
self.downsamplers = [Downsample2D(out_channels, out_channels=out_channels)]
|
||||
self.downsamplers = nn.ModuleList([Downsample2D(out_channels, out_channels=out_channels)])
|
||||
else:
|
||||
self.downsamplers = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user