a1ce72f5e1a49aea9a7e983cd7373f893e3970a6,examples/experiments/profiling/torch_research.py,,,#,56

Before Change


    .add_function(get_accuracy, returns="accuracy", name="test_accuracy", execute="%100", pipeline="test")
)

research.run(n_reps=1, n_iters=1000, workers=4, name="my_research", gpu=[2, 4, 5, 6])

After Change


    .add_function(get_accuracy, returns="accuracy", name="test_accuracy", execute="%100", pipeline="test")
)

n_workers = 1 if len(sys.argv) <= 1 else int(sys.argv[1])
gpu_list = [2, 4, 5, 6] if len(sys.argv) <= 2 else [int(item) for item in sys.argv[2]]

research.run(n_reps=1, n_iters=1000, workers=n_workers, name="my_research", gpu=gpu_list[:n_workers])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 33

Instances


Project Name: analysiscenter/batchflow
Commit Name: a1ce72f5e1a49aea9a7e983cd7373f893e3970a6
Time: 2019-05-30
Author: a.kozhevin@analysiscenter.org
File Name: examples/experiments/profiling/torch_research.py
Class Name:
Method Name:


Project Name: analysiscenter/batchflow
Commit Name: a1ce72f5e1a49aea9a7e983cd7373f893e3970a6
Time: 2019-05-30
Author: a.kozhevin@analysiscenter.org
File Name: examples/experiments/profiling/tf_research.py
Class Name:
Method Name:


Project Name: analysiscenter/batchflow
Commit Name: 4a7c23f2893dce34a2ffdfecca70647cb9aecef0
Time: 2019-07-10
Author: a.kozhevin@analysiscenter.org
File Name: examples/experiments/profiling/tf_research.py
Class Name:
Method Name:


Project Name: analysiscenter/batchflow
Commit Name: a1ce72f5e1a49aea9a7e983cd7373f893e3970a6
Time: 2019-05-30
Author: a.kozhevin@analysiscenter.org
File Name: examples/experiments/profiling/torch_research.py
Class Name:
Method Name:


Project Name: analysiscenter/batchflow
Commit Name: 4a7c23f2893dce34a2ffdfecca70647cb9aecef0
Time: 2019-07-10
Author: a.kozhevin@analysiscenter.org
File Name: examples/experiments/profiling/torch_research.py
Class Name:
Method Name: