(args)
| 22 | |
| 23 | |
| 24 | def setup(args): |
| 25 | cfg = get_cfg() |
| 26 | cfg.merge_from_file(args.config_file) |
| 27 | cfg.DATALOADER.NUM_WORKERS = 0 |
| 28 | cfg.merge_from_list(args.opts) |
| 29 | cfg.freeze() |
| 30 | setup_logger() |
| 31 | return cfg |
| 32 | |
| 33 | |
| 34 | def do_flop(cfg): |
no test coverage detected