From c1cbaf5f5da47563c64e6b148164dd58481c855e Mon Sep 17 00:00:00 2001 From: rafael orozco Date: Mon, 29 Jul 2024 15:37:22 -0400 Subject: [PATCH] take away vestige comment --- src/conditional_layers/conditional_layer_glow.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/conditional_layers/conditional_layer_glow.jl b/src/conditional_layers/conditional_layer_glow.jl index 3d1df6fc..2c3b895e 100644 --- a/src/conditional_layers/conditional_layer_glow.jl +++ b/src/conditional_layers/conditional_layer_glow.jl @@ -79,13 +79,11 @@ function ConditionalLayerGlow(n_in::Int64, n_cond::Int64, n_hidden::Int64;freeze # 1x1 Convolution and residual block for invertible layers C = Conv1x1(n_in; freeze=freeze_conv) - split_num = Int(round(n_in/2)) in_split = n_in-split_num out_chan = 2*split_num RB = ResidualBlock(in_split+n_cond, n_hidden; n_out=out_chan, activation=rb_activation, k1=k1, k2=k2, p1=p1, p2=p2, s1=s1, s2=s2, fan=true, ndims=ndims) - #RB = ResidualBlock(Int(n_in/2)+n_cond, n_hidden; n_out=n_in, activation=rb_activation, k1=k1, k2=k2, p1=p1, p2=p2, s1=s1, s2=s2, fan=true, ndims=ndims) return ConditionalLayerGlow(C, RB, logdet, activation) end