NVIDIA / OpenSeq2Seq

Toolkit for efficient experimentation with Speech Recognition, Text2Speech and NLP
https://nvidia.github.io/OpenSeq2Seq
Apache License 2.0
1.54k stars 369 forks source link

remove redundant check_logdir #323

Closed blisc closed 5 years ago

blisc commented 5 years ago

We call check_logdir in run.py on line 35, and then again if we are running infer then we call check_logdir again inside create_model inside utils.py on line 764. To further complicate matters, we sometimes check two different logdirs. The second check_logdir has been removed and we simply pass the checkpoint recovered from the first check_logdir call to create_model as a parameter as opposed to fetching it again.

Rebase from #279