src.utils.config

Graph matching config system. This file specifies default config options for Fast R-CNN. You should not change values in this file. Instead, you should write a config file (in yaml) and use cfg_from_file(yaml_file) to load it and override the default options. Most tools in $ROOT/tools take a –cfg option to specify an override file.

  • See tools/{train,test}_net.py for example code that uses cfg_from_file()

  • See experiments/cfgs/*.yml for example YAML config override files

Functions

cfg_from_file

Load a config file and merge it into the default options.

cfg_from_list

Set config keys via list (e.g., from command line).

get_output_dir

Return the directory where experimental artifacts are placed.

lcm

Compute the least common multiple of x and y.