Skip to content

Commit

Permalink
Fix default hidden layers in conditioners
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnabergoj committed Oct 13, 2023
1 parent b1f9ea8 commit 1293606
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def __init__(self,
)

if n_hidden is None:
n_hidden = int(3 * math.log10(self.n_input_event_dims))
n_hidden = max(int(3 * math.log10(self.n_input_event_dims)), 4)

# Set conditional dimension values
ms = [
Expand Down Expand Up @@ -151,7 +151,7 @@ def __init__(self,
)

if n_hidden is None:
n_hidden = int(3 * math.log10(self.n_input_event_dims))
n_hidden = max(int(3 * math.log10(self.n_input_event_dims)), 4)

# If context given, concatenate it to transform input
if context_shape is not None:
Expand Down

0 comments on commit 1293606

Please sign in to comment.