a0af3b44ccde8bf63f0981715df66d724feb88de,niftynet/engine/application_driver.py,ApplicationDriver,initialise_application,#ApplicationDriver#Any#Any#,73
Before Change
data_partitioner = ImageSetsPartitioner()
if data_param:
// change this according to the config
data_partitioner.initialise(data_param, ratios=(0.1, 0.1) )
self.app.initialise_dataset_loader(
data_param, app_param, data_partitioner)
After Change
// initialise data input
data_partitioner = ImageSetsPartitioner()
do_new_partition = self.is_training and self.initial_iter == 0 and \
(not os.path.isfile(system_param.dataset_split_file))
data_fractions = None
if do_new_partition:
data_fractions = (train_param.exclude_fraction_for_validation,
train_param.exclude_fraction_for_inference)
if data_param:
data_partitioner.initialise(
data_param=data_param,
new_partition=do_new_partition,
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 5
Instances Project Name: NifTK/NiftyNet
Commit Name: a0af3b44ccde8bf63f0981715df66d724feb88de
Time: 2017-11-14
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/application_driver.py
Class Name: ApplicationDriver
Method Name: initialise_application
Project Name: brian-team/brian2
Commit Name: fefe628658fbbca925a35d0fc741b77acee35bad
Time: 2017-10-03
Author: marcel.stimberg@inserm.fr
File Name: brian2/codegen/generators/GSL_generator.py
Class Name:
Method Name: valid_gsl_dir
Project Name: dPys/PyNets
Commit Name: 944822e8fd92f2a14c971e6b5948681672ae6706
Time: 2019-10-14
Author: dpisner@utexas.edu
File Name: pynets/core/utils.py
Class Name:
Method Name: create_temporary_copy
Project Name: prody/ProDy
Commit Name: f7ef1e7dd2d6483aa6a833aae39dfc9ce570a122
Time: 2013-05-07
Author: lordnapi@gmail.com
File Name: doc/tutorials/conf.py
Class Name:
Method Name: