6324799d51a451995a91b76306eae40ccd11f55e,eval.py,,main,#Any#,120
Before Change
nets = (net_encoder, net_decoder, crit)
for net in nets:
net.cuda()
// Main loop
evaluate(nets, loader_val, args)
After Change
def main(args):
torch.cuda.set_device(args.gpu_id)
// Network Builders
builder = ModelBuilder()
net_encoder = builder.build_encoder(arch=args.arch_encoder,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
Instances
Project Name: CSAILVision/semantic-segmentation-pytorch
Commit Name: 6324799d51a451995a91b76306eae40ccd11f55e
Time: 2018-03-27
Author: jasonhsiao97@gmail.com
File Name: eval.py
Class Name:
Method Name: main
Project Name: jsalt18-sentence-repl/jiant
Commit Name: 6f8f7608d6d603b49bef0249f169ef413d6e7371
Time: 2017-11-07
Author: wang.alex.c@gmail.com
File Name: src/codebase/main.py
Class Name:
Method Name: main
Project Name: mapillary/inplace_abn
Commit Name: e6bbf54046cf4567e88cb130300b6b78ec88cb27
Time: 2018-11-28
Author: samuel@mapillary.com
File Name: test_imagenet.py
Class Name:
Method Name: main
Project Name: mapillary/inplace_abn
Commit Name: 8ee5f50ebf7370ef35157c71a3a50b34accba91d
Time: 2018-11-26
Author: samuel@mapillary.com
File Name: train_imagenet.py
Class Name:
Method Name: main