84a55d677cb2cbdbd3d08b2a38805aac2bfb2fb8,niftynet/application/gan_application.py,GANApplication,initialise_dataset_loader,#GANApplication#Any#Any#,42

Before Change


            if self.action_param.rotation_angle:
                augmentation_layers.append(RandomRotationLayer(
                    min_angle=self.action_param.rotation_angle[0],
                    max_angle=self.action_param.rotation_angle[1]))

        if self.reader:
            self.reader.add_preprocessing_layers(

After Change


                    min_percentage=self.action_param.scaling_percentage[0],
                    max_percentage=self.action_param.scaling_percentage[1]))
            if self.action_param.rotation_angle:
                augmentation_layers.append(RandomRotationLayer())
                augmentation_layers[-1].init_uniform_angle(self.action_param.rotation_angle)

        if self.reader:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: NifTK/NiftyNet
Commit Name: 84a55d677cb2cbdbd3d08b2a38805aac2bfb2fb8
Time: 2017-10-16
Author: patricio@feops.com
File Name: niftynet/application/gan_application.py
Class Name: GANApplication
Method Name: initialise_dataset_loader


Project Name: NifTK/NiftyNet
Commit Name: 84a55d677cb2cbdbd3d08b2a38805aac2bfb2fb8
Time: 2017-10-16
Author: patricio@feops.com
File Name: niftynet/application/segmentation_application.py
Class Name: SegmentationApplication
Method Name: initialise_dataset_loader


Project Name: NifTK/NiftyNet
Commit Name: 84a55d677cb2cbdbd3d08b2a38805aac2bfb2fb8
Time: 2017-10-16
Author: patricio@feops.com
File Name: niftynet/application/regression_application.py
Class Name: RegressionApplication
Method Name: initialise_dataset_loader