Closed stefan-falk closed 5 years ago
Okay so the problem was that I had t2t_trainer
imported. I had some testing code
def main():
t2t_trainer.main(None)
in the same file where the problem resides. That has not been a problem so far but it seems this does not work if one runs t2t-datagen
as the double-definition of certain flags may happen in that case. I simply moved my test code outside my t2t-extensions.
I have created my own ASR problem.
However, it does not seem to be possible to use it with
t2t-datagen
like this:This will raise:
and it appears this is coming from this line. Somehow the flags get re-defined. One could just move it into the
try-catch
block below but I am not sure if this is desired.