ad1f165a1139df81c7009a9f429d2bb3c3542ac0,examples/cora_gcn.py,,,#,57

Before Change


    model.conv2.reset_parameters()

    torch.cuda.synchronize()
    t = time.perf_counter()
    for _ in range(0, 200):
        train()
    torch.cuda.synchronize()
    t = time.perf_counter() - t
    acc.append(test())
    print("Run:", run, "Test Accuracy:", acc[-1], "Time:", t)

acc = torch.FloatTensor(acc)
print("Mean:", acc.mean(), "Stddev:", acc.std())

After Change


    for _ in range(0, 200):
        train()
        val = test(val_mask)
        if val > old_val:
            old_val = val
            cur_test = test(test_mask)

    acc.append(cur_test)
    print("Run:", run, "Test Accuracy:", acc[-1])

acc = torch.FloatTensor(acc)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 11

Instances


Project Name: rusty1s/pytorch_geometric
Commit Name: ad1f165a1139df81c7009a9f429d2bb3c3542ac0
Time: 2018-03-06
Author: matthias.fey@tu-dortmund.de
File Name: examples/cora_gcn.py
Class Name:
Method Name:


Project Name: suavecode/SUAVE
Commit Name: 0ff4275cf16d0cf4f7d584efef54c786f6a17d19
Time: 2020-12-24
Author: ebotero@stanford.edu
File Name: regression/scripts/B737/mission_B737.py
Class Name:
Method Name:


Project Name: suavecode/SUAVE
Commit Name: 0ff4275cf16d0cf4f7d584efef54c786f6a17d19
Time: 2020-12-24
Author: ebotero@stanford.edu
File Name: regression/scripts/AVL/test_AVL.py
Class Name:
Method Name:


Project Name: rusty1s/pytorch_geometric
Commit Name: ad1f165a1139df81c7009a9f429d2bb3c3542ac0
Time: 2018-03-06
Author: matthias.fey@tu-dortmund.de
File Name: examples/cora_gcn.py
Class Name:
Method Name: