INNER CODE UNIT · Python

main

xinshuoweng/AB3DMOT · main.py:105

def main(args):

	# load config files
	config_path = './configs/%s.yml' % args.dataset
	cfg, settings_show = Config(config_path)

	# overwrite split and detection method
	if args.split is not '': cfg.split = args.split
	if args.det_name is not '': cfg.det_name = args.det_name

	# print configs
	time_str = get_timestring()
	log = os.path.join(cfg.save_root, 'log/log_%s_%s_%s.txt' % (time_str, cfg.dataset, cfg.split))
	mkdir_if_missing(log); log = open(log, 'w')
	for idx, data in enumerate(settings_show):
		print_log(data, log, display=False)

	# global ID counter used for all categories, not start from 1 for each category to prevent different 

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…