a0915f89cd6ff8b9d247d3ccef13b4c697d09d5c,niftynet/application/segmentation_application.py,SegmentationApplication,initialise_dataset_loader,#SegmentationApplication#Any#Any#Any#,59

Before Change



        // read each line of csv files into an instance of Subject
        if self.is_training:
            self.readers = [ImageReader(SUPPORTED_INPUT, "train")]
            if self.has_validation_data and self.action_param.validate_every_n:
                self.readers.append(ImageReader(SUPPORTED_INPUT, "validation"))
        else:  // in the inference process use image input only
            self.readers = [ImageReader(["image"], "inference")]

After Change



        // read each line of csv files into an instance of Subject
        if self.is_training:
            reader_train = ImageReader(SUPPORTED_INPUT)
            file_list = data_partitioner.get_file_list(TRAIN)
            reader_train.initialise_reader(data_param, task_param, file_list)
            self.readers = [reader_train]
            if self.has_validation_data and self.action_param.validate_every_n:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: NifTK/NiftyNet
Commit Name: a0915f89cd6ff8b9d247d3ccef13b4c697d09d5c
Time: 2017-11-08
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/application/segmentation_application.py
Class Name: SegmentationApplication
Method Name: initialise_dataset_loader


Project Name: NifTK/NiftyNet
Commit Name: 72e0907d7784f62157906818686da273ab6aa7ed
Time: 2018-09-11
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/contrib/segmentation_bf_aug/segmentation_application_bfaug.py
Class Name: SegmentationApplicationBFAug
Method Name: initialise_dataset_loader


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