cb413bcf7b58223c6c4335f2eaaf3dc53c0b0c53,train.py,,main,#,190
Before Change
opt.src_pad_idx = data["vocab"]["src"].vocab.stoi[Constants.PAD_WORD]
opt.trg_pad_idx = data["vocab"]["trg"].vocab.stoi[Constants.PAD_WORD]
opt.src_vocab_size = len(data["vocab"]["src"].vocab)
opt.trg_vocab_size = len(data["vocab"]["trg"].vocab)
training_data, validation_data = prepare_dataloaders(data, device, opt.batch_size)
//========= Preparing Model =========//
After Change
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: jadore801120/attention-is-all-you-need-pytorch
Commit Name: cb413bcf7b58223c6c4335f2eaaf3dc53c0b0c53
Time: 2019-12-05
Author: jadore801120@gmail.com
File Name: train.py
Class Name:
Method Name: main
Project Name: dit/dit
Commit Name: fc1952ad8d675e930bbd58757a1c5a4eeadaa269
Time: 2014-04-13
Author: chebee7i@gmail.com
File Name: dit/samplespace.py
Class Name: SampleSpace
Method Name: __init__
Project Name: CSAILVision/semantic-segmentation-pytorch
Commit Name: 7c5ea376b885cac19f8f08d533254422dc5697d7
Time: 2019-02-23
Author: zhaohang0124@gmail.com
File Name: dataset.py
Class Name: TrainDataset
Method Name: __init__