7331bc49dab2d0078054b25500890f8d3eb7733e,mnist-collection/classification.py,,train,#,107

Before Change


             "batch_size": args.batch_size,
             "outputs": {"y": F.softmax(vpred)},
             "names": {"x": vimage}}],
        "executors": [
            {"name": "Runtime",
             "network": "Validation",
             "data": ["x"],
             "output": ["y"]}]}
    save.save(os.path.join(args.model_save_path,
                           "{}_result.nnp".format(args.net)), runtime_contents)

After Change



    if args.checkpoint is not None:
        // load weights and solver state info from specified checkpoint file.
        start_point = load_checkpoint(args.checkpoint, solver)

    // Create monitor.
    from nnabla.monitor import Monitor, MonitorSeries, MonitorTimeElapsed
    monitor = Monitor(args.monitor_path)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: sony/nnabla-examples
Commit Name: 7331bc49dab2d0078054b25500890f8d3eb7733e
Time: 2020-01-13
Author: Shreenidhi.Ramachnadran@sony.com
File Name: mnist-collection/classification.py
Class Name:
Method Name: train


Project Name: tensorflow/benchmarks
Commit Name: ecec43ee2dd7d21a08d68d00c668ea54bde03672
Time: 2018-10-08
Author: reedwm@google.com
File Name: scripts/tf_cnn_benchmarks/benchmark_cnn.py
Class Name: BenchmarkCNN
Method Name: _run_eval


Project Name: deepinsight/insightface
Commit Name: 8df5470cf8ce9f1a3b7e34fd6bd6b24be42523d8
Time: 2018-01-25
Author: guojia@gmail.com
File Name: src/data/dataset_merge.py
Class Name:
Method Name: main


Project Name: deepinsight/insightface
Commit Name: d92a6bcda0fce7a629563bac912d5fbc05ec2aa5
Time: 2018-01-25
Author: guojia@gmail.com
File Name: src/data/dataset_merge.py
Class Name:
Method Name: main