dd50436d8e2db948be2d7a8fafcd554c06543ab3,run.py,,main,#,24

Before Change


      raise ValueError("\"infer_output_file\" command line parameter is "
                       "required in inference mode")
    infer_config.update(copy.deepcopy(config_module["infer_params"]))
    deco_print("Inference config:")
    pprint.pprint(infer_config)

  if args.benchmark:
    deco_print("Adjusting config for benchmarking")

After Change


      raise ValueError("\"infer_output_file\" command line parameter is "
                       "required in inference mode")
    infer_config.update(copy.deepcopy(config_module["infer_params"]))
    if hvd is None or hvd.rank() == 0:
      deco_print("Inference config:")
      pprint.pprint(infer_config)

  if args.benchmark:
    deco_print("Adjusting config for benchmarking")
    train_config["print_samples_steps"] = None
    train_config["print_loss_steps"] = 1
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: NVIDIA/OpenSeq2Seq
Commit Name: dd50436d8e2db948be2d7a8fafcd554c06543ab3
Time: 2018-05-08
Author: igor.a.gitman@gmail.com
File Name: run.py
Class Name:
Method Name: main


Project Name: NVIDIA/OpenSeq2Seq
Commit Name: f310d41373c2451a9556edcd8b47960d286035ee
Time: 2018-08-24
Author: okuchaiev@nvidia.com
File Name: open_seq2seq/utils/hooks.py
Class Name: PrintLossAndTimeHook
Method Name: after_run