961aa9573a7cb652c14841753c48ee7f2c4a0791,eval_gl_seg.py,,parse_args,#,14
Before Change
if args.ngpus == 0:
args.ctx = [mx.cpu(0)]
else:
args.ctx = [mx.gpu(i) for i in range(args.ngpus)]
print(args)
return args
After Change
dest="calc_flops",
action="store_true",
help="calculate FLOPs")
parser.add_argument(
"--calc-flops-only",
dest="calc_flops_only",
action="store_true",
help="calculate FLOPs without quality estimation")
parser.add_argument(
"--num-gpus",
type=int,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: osmr/imgclsmob
Commit Name: 961aa9573a7cb652c14841753c48ee7f2c4a0791
Time: 2019-03-19
Author: osemery@gmail.com
File Name: eval_gl_seg.py
Class Name:
Method Name: parse_args
Project Name: metalbubble/moments_models
Commit Name: 70e4855f5608c4481dfffd5f762e310d631d06c3
Time: 2020-10-09
Author: mmonfort@mit.edu
File Name: test_model_CAM.py
Class Name:
Method Name:
Project Name: PacktPublishing/Deep-Reinforcement-Learning-Hands-On
Commit Name: 1646ac6e24a0c760f7e2d232169dbf42dc4acfb8
Time: 2018-01-29
Author: max.lapan@gmail.com
File Name: ch13/wob_click_train.py
Class Name:
Method Name: