(args)
| 32 | |
| 33 | |
| 34 | def setup(args): |
| 35 | cfg = get_cfg() |
| 36 | cfg.merge_from_file(args.config_file) |
| 37 | cfg.SOLVER.BASE_LR = 0.001 # Avoid NaNs. Not useful in this script anyway. |
| 38 | cfg.merge_from_list(args.opts) |
| 39 | cfg.freeze() |
| 40 | setup_logger(distributed_rank=comm.get_rank()) |
| 41 | return cfg |
| 42 | |
| 43 | |
| 44 | def benchmark_data(args): |
no test coverage detected