Skip to content

Commit

Permalink
Update i6_models/parts/frontend/generic_frontend.py
Browse files Browse the repository at this point in the history
Co-authored-by: SimBe195 <[email protected]>
  • Loading branch information
Judyxujj and SimBe195 authored Nov 10, 2023
1 parent cac9961 commit 84fcb74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion i6_models/parts/frontend/generic_frontend.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def check_valid(self):

if self.pool_strides is not None:
assert len(self.pool_strides) == num_pools, "Please specify stride for each pooling layer!"
if self.conv_paddings is not None:
if self.pool_paddings is not None:
assert len(self.pool_paddings) == num_pools, "Please specify padding for each pooling layer!"

assert len(self.layer_ordering) == num_convs + num_pools + num_activations, "Number of total layers mismatch!"
Expand Down

0 comments on commit 84fcb74

Please sign in to comment.