9a89c1513730afa2aa237645db002256b2aaeebc,ml_perf/get_data.py,,main,#Any#,45

Before Change



    // Freeze the models to protos.
    freeze_graph("ml_perf/target/{}/target".format(N))
    freeze_graph("ml_perf/checkpoint/{}/start".format(N))
  finally:
    asyncio.get_event_loop().close()

After Change


    // Freeze the training checkpoint models.
    pattern = os.path.join(FLAGS.dst_dir, "checkpoint", N, "work_dir", "*.index")
    for path in glob.glob(pattern):
      freeze_graph(os.path.splitext(path)[0])

  finally:
    asyncio.get_event_loop().close()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: tensorflow/minigo
Commit Name: 9a89c1513730afa2aa237645db002256b2aaeebc
Time: 2019-04-02
Author: tmadams@google.com
File Name: ml_perf/get_data.py
Class Name:
Method Name: main


Project Name: deepfakes/faceswap
Commit Name: a8e8f9157b38314bb12910fe13fa7f34739d9c2b
Time: 2019-04-12
Author: 36920800+torzdf@users.noreply.github.com
File Name: tools/lib_alignments/jobs.py
Class Name: Merge
Method Name: set_destination_filename


Project Name: chainer/chainercv
Commit Name: 93fde518ce45a1373c4b635c15e25312b2cc3a0f
Time: 2017-03-10
Author: yuyuniitani@gmail.com
File Name: chainercv/datasets/cub/cub_utils.py
Class Name:
Method Name: get_cub