Skip to content

Commit

Permalink
Sigmnoid in conv fc
Browse files Browse the repository at this point in the history
  • Loading branch information
georgeyiasemis committed Jan 24, 2024
1 parent 866bc5b commit 962907c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions direct/nn/conv/modulated_conv.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@ def __init__(
nn.Linear(aux_in_features, fc_hidden_features, bias=fc_bias),
nn.PReLU(),
nn.Linear(fc_hidden_features, in_channels * out_channels, bias=fc_bias),
nn.Sigmoid(),
)

if bias == ModConv2dBias.PARAM:
Expand Down Expand Up @@ -255,6 +256,7 @@ def __init__(
nn.Linear(aux_in_features, fc_hidden_features, bias=fc_bias),
nn.PReLU(),
nn.Linear(fc_hidden_features, in_channels * out_channels, bias=fc_bias),
nn.Sigmoid(),
)

if bias == ModConv2dBias.PARAM:
Expand Down

0 comments on commit 962907c

Please sign in to comment.