61421e8d341312e02dff23b46acde4261808dab3,train.py,,,#,15
Before Change
// forward pass to decoder
options = Variable(train_batch["opt"])
ans_ind = Variable(train_batch["ans_ind"])
dec_out = decoder(enc_out, options)
cur_loss = criterion(dec_out, ans_ind.view(-1))
cur_loss.backward()
After Change
args = parser.parse_args()
for arg in vars(args):
print("{:<20}: {}".format(arg, getattr(args, arg)))
// seed for reproducibility
torch.manual_seed(1234)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: batra-mlp-lab/visdial-challenge-starter-pytorch
Commit Name: 61421e8d341312e02dff23b46acde4261808dab3
Time: 2018-07-06
Author: karandesai281196@gmail.com
File Name: train.py
Class Name:
Method Name:
Project Name: hunkim/PyTorchZeroToAll
Commit Name: 933aca18a7e4ebaa88ee2f606e3be97374c6f2b4
Time: 2019-06-21
Author: hameedabdulrashid@gmail.com
File Name: 08_2_dataset_loade_logistic.py
Class Name:
Method Name:
Project Name: erikwijmans/Pointnet2_PyTorch
Commit Name: 803d7e1fc61536c846c811bdee158bd21db36779
Time: 2017-12-26
Author: ewijmans2@gmail.com
File Name: models/Pointnet2Cls.py
Class Name:
Method Name: