Skip to content

Commit

Permalink
chore(fix): Fix wrong channels in UpBlock2D
Browse files Browse the repository at this point in the history
  • Loading branch information
dcvz committed Apr 13, 2024
1 parent 5a80bbb commit 1ae1ded
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/unet_2d_blocks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -658,7 +658,7 @@ impl UpBlock2DConfig {

let in_channels = resnet_in_channels + res_skip_channels;

ResnetBlock2DConfig::new(self.in_channels)
ResnetBlock2DConfig::new(in_channels)
.with_out_channels(Some(self.out_channels))
.with_temb_channels(self.temb_channels)
.with_eps(self.resnet_eps)
Expand Down

0 comments on commit 1ae1ded

Please sign in to comment.