aboutsummaryrefslogtreecommitdiff
path: root/swr2_asr/train.py
diff options
context:
space:
mode:
authorPherkel2023-09-03 19:44:27 +0200
committerPherkel2023-09-03 19:44:27 +0200
commit6a73a1ed117d9ace8546aa5114daada91e69b069 (patch)
treec217e74e59f229672044f9f96c04cbdfdc2dd51f /swr2_asr/train.py
parent33f09080aee10bddb4797a557d676ee1f7b8de31 (diff)
reformat, remove deps
Diffstat (limited to 'swr2_asr/train.py')
-rw-r--r--swr2_asr/train.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/swr2_asr/train.py b/swr2_asr/train.py
index 95038c2..8fc0b78 100644
--- a/swr2_asr/train.py
+++ b/swr2_asr/train.py
@@ -102,7 +102,6 @@ def train(
return sum(losses) / len(losses)
-
def test(model, device, test_loader, criterion, tokenizer):
"""Test"""
print("\nevaluating...")