Skip to content

Commit

Permalink
fix bugs of test_dan_separator.py
Browse files Browse the repository at this point in the history
  • Loading branch information
earthmanylf committed Feb 25, 2022
1 parent c54d9a4 commit d3acdcc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/espnet2/enh/separator/test_dan_separator.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_dan_separator_forward_backward_complex(
sep_others = {}
sep_others["feature_ref"] = o

masked, flens, others = model(x, ilens=x_lens, o=sep_others)
masked, flens, others = model(x, ilens=x_lens, additional=sep_others)

assert isinstance(masked[0], ComplexTensor)
assert len(masked) == num_spk
Expand Down Expand Up @@ -83,7 +83,7 @@ def test_dan_separator_forward_backward_real(
sep_others = {}
sep_others["feature_ref"] = o

masked, flens, others = model(x, ilens=x_lens, o=sep_others)
masked, flens, others = model(x, ilens=x_lens, additional=sep_others)

assert isinstance(masked[0], Tensor)
assert len(masked) == num_spk
Expand Down

0 comments on commit d3acdcc

Please sign in to comment.