Skip to content

Commit

Permalink
remove warning
Browse files Browse the repository at this point in the history
  • Loading branch information
kamo-naoyuki committed May 12, 2022
1 parent 9a2001f commit 2625be7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/espnet2/tasks/test_abs_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from espnet2.train.collate_fn import CommonCollateFn


class TestModel(AbsESPnetModel):
class DummyModel(AbsESPnetModel):
def __init__(self):
super().__init__()
self.layer1 = torch.nn.Linear(1, 1)
Expand Down Expand Up @@ -60,7 +60,7 @@ def optional_data_names(cls, train=True, inference=False):

@classmethod
def build_model(cls, args):
model = TestModel()
model = DummyModel()
return model

@classmethod
Expand Down

0 comments on commit 2625be7

Please sign in to comment.