81296e3b0a1508f0fa068668ba84c92f39cde431,catalyst/dl/experiment/config.py,ConfigExperiment,get_loaders,#ConfigExperiment#Any#,322
Before Change
raise NotImplementedError
if distributed:
sampler = loader_params.get("sampler")
if sampler is not None:
assert isinstance(sampler, DistributedSampler)
else:
loader_params["sampler"] = DistributedSampler(
After Change
sampler_params = samplers_params.pop(name, None)
if sampler_params is None:
if isinstance(ds_, dict) and "sampler" in ds_:
sampler = ds_.pop("sampler", None)
else:
sampler = None
else:
sampler = SAMPLERS.get_from_params(**sampler_params)
if isinstance(ds_, dict) and "sampler" in ds_:
ds_.pop("sampler", None)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: catalyst-team/catalyst
Commit Name: 81296e3b0a1508f0fa068668ba84c92f39cde431
Time: 2019-12-20
Author: tez.romach@gmail.com
File Name: catalyst/dl/experiment/config.py
Class Name: ConfigExperiment
Method Name: get_loaders
Project Name: dmlc/gluon-cv
Commit Name: c96649bb6e1dfeb9479de6c5e8547d510c6b7a32
Time: 2021-01-19
Author: tmwang428@outlook.com
File Name: gluoncv/auto/tasks/utils.py
Class Name:
Method Name: auto_suggest
Project Name: deepmipt/DeepPavlov
Commit Name: ca0aca8a9219b0ef5382cdf88c2aa5343cf0d954
Time: 2019-03-22
Author: dilyara.rimovna@gmail.com
File Name: deeppavlov/models/classifiers/keras_classification_model.py
Class Name: KerasClassificationModel
Method Name: __init__