예제 #1
0
def main(argv):

    # HACK: redirect the create_hparams function to setup the hparams
    # using the passed in command-line args
    argv = common_flags.update_argv(argv)
    t2t_decoder.create_hparams = functools.partial(create_hparams, argv)
    t2t_decoder.main(None)
예제 #2
0
def main(argv):

  argv = common_flags.update_argv(argv)
  return t2t_trainer.main(argv)