40ff3e5daf41522c553d3508385e55d1d83176ce,mmdet/apis/train.py,,_non_dist_train,#Any#Any#Any#Any#Any#Any#Any#,184
Before Change
timestamp=None,
meta=None):
if validate:
raise NotImplementedError("Built-in validation is not implemented "
"yet in not-distributed training. Use "
"distributed training or test.py and "
"*eval.py scripts instead.")
// prepare data loaders
dataset = dataset if isinstance(dataset, (list, tuple)) else [dataset]
data_loaders = [
build_dataloader(
After Change
cfg.checkpoint_config, cfg.log_config)
// register eval hooks
if validate:
val_dataset = build_dataset(cfg.data.val, dict(test_mode=True))
val_dataloader = build_dataloader(
val_dataset,
imgs_per_gpu=1,
workers_per_gpu=cfg.data.workers_per_gpu,
dist=False,
shuffle=False)
eval_cfg = cfg.get("evaluation", {})
runner.register_hook(EvalHook(val_dataloader, **eval_cfg))
if cfg.resume_from:
runner.resume(cfg.resume_from)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: open-mmlab/mmdetection
Commit Name: 40ff3e5daf41522c553d3508385e55d1d83176ce
Time: 2020-04-01
Author: goolhanrry@gmail.com
File Name: mmdet/apis/train.py
Class Name:
Method Name: _non_dist_train
Project Name: UFAL-DSG/tgen
Commit Name: 6506f3a125e001e7667771f3c1f570c53dbefd06
Time: 2016-01-08
Author: odusek@ufal.mff.cuni.cz
File Name: tgen/seq2seq.py
Class Name: Seq2SeqGen
Method Name: save_to_file
Project Name: bokeh/bokeh
Commit Name: cf6b77ab61a07d88117b9a5538c81ab13ff3632d
Time: 2016-01-17
Author: nlr06886@gmail.com
File Name: bokeh/charts/models.py
Class Name: CompositeGlyph
Method Name: build_source