5ffa38fca42bb3fbee030f4b80264e0f4910a49c,examples/cuneiform.py,,,#,12

Before Change


path = os.path.join(path, "..", "data", "Cuneiform_{}".format(mode))
n = 267
perm = torch.randperm(n)
torch.save(perm, "/Users/rusty1s/Desktop/perm.pt")
split = torch.arange(0, n + 27, 27, out=torch.LongTensor())
train_transform = Compose([
    RandomRotate(0.6),
    RandomScale(1.4),

After Change


n = 267
step = (n + 10) // 10
perm = torch.randperm(n)
perm = torch.load("/Users/rusty1s/Desktop/perm2.pt")
split = torch.arange(0, n + step, step, out=torch.LongTensor())


class Net(nn.Module):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: rusty1s/pytorch_geometric
Commit Name: 5ffa38fca42bb3fbee030f4b80264e0f4910a49c
Time: 2018-01-16
Author: matthias.fey@tu-dortmund.de
File Name: examples/cuneiform.py
Class Name:
Method Name:


Project Name: autorope/donkeycar
Commit Name: b85a210e72d4333b71c72f33b905de0ad0070c17
Time: 2017-02-18
Author: wroscoe@gmail.com
File Name: scripts/train.py
Class Name:
Method Name:


Project Name: nipy/dipy
Commit Name: b92be51f6fc463ab7deef20fab640b3b2f50b497
Time: 2013-08-06
Author: garyfallidis@gmail.com
File Name: doc/examples/brain_extraction.py
Class Name:
Method Name: