We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a23d733 commit ab9bcd8Copy full SHA for ab9bcd8
tools/train.py
@@ -115,7 +115,9 @@ def main():
115
logger.info('{:16} {}'.format(key, val))
116
log_config_to_file(cfg, logger=logger)
117
if cfg.LOCAL_RANK == 0:
118
- os.system('cp %s %s' % (args.cfg_file, output_dir))
+ os.system('cp %s %s' % (args.cfg_file, output_dir / ("BASE_" + Path(args.cfg_file).name)))
119
+ set_cfg = create_cfg_from_sets(args.cfg_file, args.modify_cfgs, args.set_cfgs)
120
+ cfg_to_yaml_file(set_cfg, output_dir / Path(args.cfg_file).name)
121
122
tb_log = SummaryWriter(log_dir=str(output_dir / 'tensorboard')) if cfg.LOCAL_RANK == 0 else None
123
0 commit comments