c6def7dfd9ce9c2f02a5ad1ded8c9feec449b001,imagenet/data.py,,make_datasets,#Any#,62
Before Change
transforms.RandomSizedCrop(224),
transforms.RandomHorizontalFlip(),
transforms.ToTensor(),
transforms.Normalize(),
])
trainset = ImageNetDataset(traindir, train_samples, transform)
After Change
transforms.RandomSizedCrop(224),
transforms.RandomHorizontalFlip(),
transforms.ToTensor(),
transforms.Normalize(mean = [ 0.485, 0.456, 0.406 ],
std = [ 0.229, 0.224, 0.225 ]),
])
trainset = ImageNetDataset(traindir, train_samples, transform)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: OpenNMT/OpenNMT-py
Commit Name: c6def7dfd9ce9c2f02a5ad1ded8c9feec449b001
Time: 2016-10-03
Author: soumith@fb.com
File Name: imagenet/data.py
Class Name:
Method Name: make_datasets
Project Name: moskomule/senet.pytorch
Commit Name: 559c4b8221ed87b4c6e713a9c64a97bde608539a
Time: 2017-10-29
Author: hataya@keio.jp
File Name: exec.py
Class Name:
Method Name: main