4ed788f3afbdc55b0abd30bfaa0f2770e64a9055,run_application.py,,,#,9
Before Change
import utilities.misc_common as util
import utilities.parse_user_params as parse_user_params
if sys.version_info[0] >= 3:
sys.stdout = os.fdopen(sys.stdout.fileno(), "w")
else:
sys.stdout = os.fdopen(sys.stdout.fileno(), "w", 0)
class NetFactory(object):
@staticmethod
def create(name):
if name == "highres3dnet":
After Change
if util.has_bad_inputs(args):
sys.exit(-1)
if not (args.cuda_devices == """"):
os.environ["CUDA_VISIBLE_DEVICES"] = args.cuda_devices
print("set CUDA_VISIBLE_DEVICES env to {}".format(args.cuda_devices))
net_class = NetFactory.create(args.net_name)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: NifTK/NiftyNet
Commit Name: 4ed788f3afbdc55b0abd30bfaa0f2770e64a9055
Time: 2017-06-09
Author: wenqi.li@ucl.ac.uk
File Name: run_application.py
Class Name:
Method Name:
Project Name: NifTK/NiftyNet
Commit Name: 5b0bdf006088f720bd21ae838e8903ee49282bde
Time: 2017-06-08
Author: wenqi.li@ucl.ac.uk
File Name: run_application.py
Class Name:
Method Name:
Project Name: pantsbuild/pants
Commit Name: 8c35227c6e3c4a6b85d2f719c9a62031f5e4ca6f
Time: 2017-12-12
Author: kwlzn@users.noreply.github.com
File Name: src/python/pants/java/nailgun_io.py
Class Name: NailgunStreamWriter
Method Name: run