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

Before Change


    def initialise_dataset_loader(
        self, data_param=None, task_param=None, data_partitioner=None):

        BaseApplication.initialise_dataset_loader(
            self, data_param, task_param, system_param)

        self.data_param = data_param
        self.segmentation_param = task_param

After Change


        else:
            label_normaliser = None

        normalisation_layers = []
        if self.net_param.normalisation:
            normalisation_layers.append(histogram_normaliser)
        if self.net_param.whitening:
            normalisation_layers.append(mean_var_normaliser)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: NifTK/NiftyNet
Commit Name: cfd0ab3e18fcf8456e52b775f88e41a20f8f1daa
Time: 2017-11-10
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: 733496571cb059669deba20ca719d01796ea06fd
Time: 2017-11-10
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/application/regression_application.py
Class Name: RegressionApplication
Method Name: initialise_dataset_loader


Project Name: NifTK/NiftyNet
Commit Name: 733496571cb059669deba20ca719d01796ea06fd
Time: 2017-11-10
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/application/gan_application.py
Class Name: GANApplication
Method Name: initialise_dataset_loader