46c7de7e27bd30726a16e5a9156283dba214977a,catalyst/dl/experiment/config.py,ConfigExperiment,get_loaders,#ConfigExperiment#Any#Any#,387

Before Change


        num_workers = data_params.pop("num_workers")
        drop_last = data_params.pop("drop_last", False)
        per_gpu_scaling = data_params.pop("per_gpu_scaling", False)
        distributed_rank = self.distributed_params.get("rank", -1)
        distributed = distributed_rank > -1

        datasets = self.get_datasets(stage=stage, **data_params)

After Change


        num_workers = data_params.pop("num_workers")
        drop_last = data_params.pop("drop_last", False)
        per_gpu_scaling = data_params.pop("per_gpu_scaling", False)
        distributed_rank = get_rank()
        distributed = distributed_rank > -1

        datasets = self.get_datasets(stage=stage, **data_params)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 6

Instances


Project Name: Scitator/catalyst
Commit Name: 46c7de7e27bd30726a16e5a9156283dba214977a
Time: 2020-02-07
Author: scitator@gmail.com
File Name: catalyst/dl/experiment/config.py
Class Name: ConfigExperiment
Method Name: get_loaders


Project Name: catalyst-team/catalyst
Commit Name: 46c7de7e27bd30726a16e5a9156283dba214977a
Time: 2020-02-07
Author: scitator@gmail.com
File Name: catalyst/dl/experiment/config.py
Class Name: ConfigExperiment
Method Name: _get_logdir


Project Name: catalyst-team/catalyst
Commit Name: 46c7de7e27bd30726a16e5a9156283dba214977a
Time: 2020-02-07
Author: scitator@gmail.com
File Name: catalyst/dl/experiment/config.py
Class Name: ConfigExperiment
Method Name: _get_optimizer