53633acd7c861fd73e3954088a48d0ac8dc42895,niftynet/application/gan_application.py,GANApplication,initialise_dataset_loader,#GANApplication#,42

Before Change



        // read each line of csv files into an instance of Subject
        if self.is_training:
            self.reader = ImageReader(["image", "conditioning"])
        else:  // in the inference process use image input only
            self.reader = ImageReader(["conditioning"])
        if self.reader:

After Change



        // read each line of csv files into an instance of Subject
        if self.is_training:
            self.readers = [ImageReader(["image", "conditioning"], phase="train"),
                            ImageReader(["conditioning"], phase="validation")]
        else:  // in the inference process use image input only
            self.readers = [ImageReader(["image"], phase="test")]
        for reader in self.readers:
            reader.initialise_reader(data_param, task_param)

        if self.net_param.normalise_foreground_only:
            foreground_masking_layer = BinaryMaskingLayer(
                type_str=self.net_param.foreground_type,
                multimod_fusion=self.net_param.multimod_foreground_type,
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: NifTK/NiftyNet
Commit Name: 53633acd7c861fd73e3954088a48d0ac8dc42895
Time: 2017-11-01
Author: eli.gibson@gmail.com
File Name: niftynet/application/gan_application.py
Class Name: GANApplication
Method Name: initialise_dataset_loader


Project Name: NifTK/NiftyNet
Commit Name: 53633acd7c861fd73e3954088a48d0ac8dc42895
Time: 2017-11-01
Author: eli.gibson@gmail.com
File Name: niftynet/application/regression_application.py
Class Name: RegressionApplication
Method Name: initialise_dataset_loader


Project Name: NifTK/NiftyNet
Commit Name: 53633acd7c861fd73e3954088a48d0ac8dc42895
Time: 2017-11-01
Author: eli.gibson@gmail.com
File Name: niftynet/application/autoencoder_application.py
Class Name: AutoencoderApplication
Method Name: initialise_dataset_loader