Skip to content

Commit

Permalink
update models
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Bettini <[email protected]>
  • Loading branch information
matteobettini committed Sep 21, 2023
1 parent c82d964 commit 378c61c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmarl/models/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def get_model(
raise ValueError(
f"SequenceModelConfig expects n_models > 0, got {n_models}"
)
if len(self.intermediate_sizes) == n_models - 1:
if len(self.intermediate_sizes) != n_models - 1:
raise ValueError(
f"SequenceModelConfig intermediate_sizes len should be {n_models - 1}, got {len(self.intermediate_sizes)}"
)
Expand Down

0 comments on commit 378c61c

Please sign in to comment.