MCPcopy Create free account
hub / github.com/HYUNJS/SGT / setup

Function setup

projects/CenterNet/train_net.py:26–38  ·  view source on GitHub ↗
(args)

Source from the content-addressed store, hash-verified

24
25
26def setup(args):
27 cfg = get_cfg()
28 add_epoch_trainer_config(cfg)
29 add_mot_dataset_config(cfg)
30 add_mix_dataset_config(cfg)
31 add_centernet_config(cfg)
32 cfg.merge_from_file(args.config_file)
33 cfg.merge_from_list(args.opts)
34 cfg.freeze()
35 default_setup(cfg, args)
36 logger = setup_logger(distributed_rank=comm.get_rank(), name="projects")
37 logger.setLevel(logging.INFO)
38 return cfg
39
40
41def main(args):

Callers 1

mainFunction · 0.70

Calls 4

add_epoch_trainer_configFunction · 0.90
add_mot_dataset_configFunction · 0.90
add_mix_dataset_configFunction · 0.90
add_centernet_configFunction · 0.90

Tested by

no test coverage detected