72e0907d7784f62157906818686da273ab6aa7ed,niftynet/contrib/segmentation_bf_aug/segmentation_application_bfaug.py,SegmentationApplicationBFAug,initialise_dataset_loader,#SegmentationApplicationBFAug#Any#Any#Any#,58

Before Change


            file_lists = []
            if self.action_param.validation_every_n > 0:
                file_lists.append(data_partitioner.train_files)
                file_lists.append(data_partitioner.validation_files)
            else:
                file_lists.append(data_partitioner.train_files)

            self.readers = []

After Change


                "Action `%s` not supported. Expected one of %s",
                self.action, self.SUPPORTED_PHASES)
            raise ValueError
        try:
            reader_phase = self.action_param.dataset_to_infer
        except AttributeError:
            reader_phase = None
        file_lists = data_partitioner.get_file_lists_by(
            phase=reader_phase, action=self.action)
        self.readers = [
            ImageReader(reader_names).initialise(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


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: ray-project/ray
Commit Name: 684bb32cdf29382a4a4d1d3f2bacf4ddc9e3fdb0
Time: 2021-02-16
Author: rkooo567@gmail.com
File Name: python/ray/serialization.py
Class Name: SerializationContext
Method Name: deserialize_objects


Project Name: NervanaSystems/nlp-architect
Commit Name: c9e73e23d952569574d23aafad6479caa5828b49
Time: 2018-05-14
Author: amit.yaccobi@intel.com
File Name: examples/np_semantic_segmentation/feature_extraction.py
Class Name: PalmettoClass
Method Name: get_pmi_score