nicetoolbox.detectors.main¶
Run the NICE toolbox inference pipeline. The main script imports various modules and classes to run method detectors and feature detectors on the provided datasets.
Functions
Entry point for running NICE toolbox detectors. |
|
The main function of the NICE Toolbox. |
- nicetoolbox.detectors.main.main(run_config_file, machine_specifics_file)[source]¶
The main function of the NICE Toolbox.
- Parameters:
run_config_file (str) – The path to the run configuration file.
detector_config_file (str) – The path to the detector configuration file.
machine_specifics_file (str) – The path to the machine specifics file.
This function is the entry point of the NICE toolbox. It performs the following steps:
Initializes the configuration handler with the provided configuration files.
- Initializes the IO module with the IO configuration from the configuration
handler.
Sets up logging and logs the start of the NICE toolbox.
Checks the configuration consistency and saves the experiment configuration.
Runs the datasets specified in the configuration.
For each dataset, initializes the IO module and prepares the data.
Runs the method detectors specified in the configuration for each dataset.
- Runs the feature extraction pipeline specified in the configuration for each
dataset.