822a66e8b1d3a830fa3d2de72c2b2af00d541e03,magenta/pipelines/pipeline.py,,run_pipeline_serial,#Any#Any#Any#,160

Before Change


        total_outputs += 1
    if total_inputs % 500 == 0:
      tf.logging.info("%d inputs. %d outputs. stats = %s", total_inputs,
                      total_outputs, pipeline.get_stats())


def load_pipeline(pipeline, input_iterator):

After Change


      for output in outputs:
        writers[name].write(output.SerializeToString())
        total_outputs += 1
    stats = statistics.merge_statistics(stats + pipeline.get_stats())
    if total_inputs % 500 == 0:
      tf.logging.info("Processed %d inputs so far. Produced %d outputs.",
                      total_inputs, total_outputs)
      statistics.log_statistics_list(stats, tf.logging.info)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: tensorflow/magenta
Commit Name: 822a66e8b1d3a830fa3d2de72c2b2af00d541e03
Time: 2016-08-03
Author: danabo@google.com
File Name: magenta/pipelines/pipeline.py
Class Name:
Method Name: run_pipeline_serial


Project Name: Netflix/vmaf
Commit Name: cceae1fee29ec0269616e7c2364f1714a518b2c3
Time: 2018-02-28
Author: zli@netflix.com
File Name: python/src/vmaf/core/train_test_model.py
Class Name: TrainTestModel
Method Name: evaluate


Project Name: Netflix/vmaf
Commit Name: 11af054aea471e8926f2a091c2345228ded5163a
Time: 2018-02-28
Author: zli@netflix.com
File Name: python/src/vmaf/core/train_test_model.py
Class Name: TrainTestModel
Method Name: evaluate