Skip to content

Commit

Permalink
added simple plotting to run
Browse files Browse the repository at this point in the history
  • Loading branch information
JoJoBarthold2 committed Sep 6, 2023
1 parent e5a003e commit 9bb4ffb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion swr2_asr/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

from swr2_asr.model_deep_speech import SpeechRecognitionModel
from swr2_asr.tokenizer import CharTokenizer, train_char_tokenizer
from swr2_asr.utils import MLSDataset, Split, collate_fn
from swr2_asr.utils import MLSDataset, Split, collate_fn,plot

from .loss_scores import cer, wer

Expand Down Expand Up @@ -268,6 +268,7 @@ def run(
"avg_wer": avg_wer,
},
path + str(epoch),
plot(epochs,path)
)


Expand Down

0 comments on commit 9bb4ffb

Please sign in to comment.