c695b37c5b44026ba51a1b3c46904da658abe2a1,niftynet/application/segmentation_application.py,SegmentationApplication,initialise_dataset_loader,#SegmentationApplication#Any#Any#Any#,57
Before Change
self.readers.append(reader)
else: // in the inference process use image input only
inference_reader = ImageReader(["image"] )
file_list = data_partitioner.inference_files
inference_reader.initialise(data_param, task_param, file_list)
self.readers = [inference_reader]
After Change
inference_reader.initialise(data_param, task_param, file_list)
self.readers = [inference_reader]
elif self.action == "evaluation":
file_list = data_partitioner.inference_files
reader = ImageReader({"image", "label", "inferred"})
reader.initialise(data_param, task_param, file_list)
self.readers = [reader]
else:
raise ValueError("action should be train, inference or evaluation"
" not %s" % self.action)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances Project Name: NifTK/NiftyNet
Commit Name: c695b37c5b44026ba51a1b3c46904da658abe2a1
Time: 2017-11-27
Author: eli.gibson@gmail.com
File Name: niftynet/application/segmentation_application.py
Class Name: SegmentationApplication
Method Name: initialise_dataset_loader
Project Name: NifTK/NiftyNet
Commit Name: 9943f36fd3cf218775b735ddd41e2939487c0e0f
Time: 2017-11-14
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/application/gan_application.py
Class Name: GANApplication
Method Name: initialise_dataset_loader
Project Name: NifTK/NiftyNet
Commit Name: 83f6726852bd539c427523bf4bf35f07b0744014
Time: 2017-11-14
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/application/regression_application.py
Class Name: RegressionApplication
Method Name: initialise_dataset_loader