b6a7c304c68fe4a1300970459a3807ee7bce6c87,examples/cora.py,,,#,55
Before Change
train()
acc.append(test(test_mask))
print("Run: {:03d}, Test: {:.4f}".format(run, acc[-1]))
mean = torch.tensor(acc).mean().item()
std = torch.tensor(acc).std().item()
print("Mean: {:.4f}, Stddev: {:.4f}".format(mean, std))
After Change
for epoch in range(1, 101):
train()
log = "Epoch: {:03d}, Train: {:.4f}, Test: {:.4f}"
print(log.format(epoch, *test()))
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: rusty1s/pytorch_geometric
Commit Name: b6a7c304c68fe4a1300970459a3807ee7bce6c87
Time: 2018-05-22
Author: matthias.fey@tu-dortmund.de
File Name: examples/cora.py
Class Name:
Method Name:
Project Name: jindongwang/transferlearning
Commit Name: 2733bef356c53286d475a67476d88d4840923830
Time: 2020-09-30
Author: jindongwang@outlook.com
File Name: code/deep/finetune_AlexNet_ResNet/finetune_office31.py
Class Name:
Method Name: finetune
Project Name: rusty1s/pytorch_geometric
Commit Name: e60669c5aa467d5c11a508c01b37c4ed8e352fa6
Time: 2021-02-15
Author: matthias.fey@tu-dortmund.de
File Name: examples/gat.py
Class Name:
Method Name: