dac1135635661f39b66432f702047abc704585d1,examples/chainermn_mnist.py,,,#,75

Before Change



    if comm.rank == 0:
        // ChainerMN integration supports only RDB backend.
        sqlite_file = tempfile.NamedTemporaryFile()
        sqlite_url = "sqlite:///{}".format(sqlite_file.name)

        study_uuid = pfnopt.create_study(storage=sqlite_url).study_uuid
    else:

After Change



if __name__ == "__main__":
    // Please make sure common study and storage are shared among nodes.
    study_uuid = sys.argv[1]
    storage_url = sys.argv[2]

    comm = chainermn.create_communicator("naive")
    if comm.rank == 0:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: pfnet/optuna
Commit Name: dac1135635661f39b66432f702047abc704585d1
Time: 2018-06-24
Author: sano@preferred.jp
File Name: examples/chainermn_mnist.py
Class Name:
Method Name:


Project Name: ray-project/ray
Commit Name: 898e47242527e402f4d014fd084c31843d64d1b8
Time: 2020-06-27
Author: mehrdadn@users.noreply.github.com
File Name: python/ray/test_utils.py
Class Name:
Method Name: run_string_as_driver


Project Name: pyannote/pyannote-audio
Commit Name: b0a78567606a3ff24437501fc83239181b9478b3
Time: 2019-02-28
Author: pavel.korshunov@idiap.ch
File Name: pyannote/audio/features/utils.py
Class Name:
Method Name: read_audio