Skip to content

Commit

Permalink
Fix format problems
Browse files Browse the repository at this point in the history
  • Loading branch information
earthmanylf committed Apr 24, 2022
1 parent 16acdad commit be0112b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions espnet2/enh/separator/svoice_separator.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ def __init__(
)

def forward(
self,
input: torch.Tensor,
self,
input: torch.Tensor,
ilens: torch.Tensor,
additional: Optional[Dict] = None,
) -> Tuple[List[torch.Tensor], torch.Tensor, OrderedDict]:
Expand Down
5 changes: 4 additions & 1 deletion espnet2/tasks/enh.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,10 @@
loss_wrapper_choices = ClassChoices(
name="loss_wrappers",
classes=dict(
pit=PITSolver, fixed_order=FixedOrderSolver, multilayer_pit=MultiLayerPITSolver, dpcl=DPCLSolver
pit=PITSolver,
fixed_order=FixedOrderSolver,
multilayer_pit=MultiLayerPITSolver,
dpcl=DPCLSolver,
),
type_check=AbsLossWrapper,
default=None,
Expand Down

0 comments on commit be0112b

Please sign in to comment.