Skip to content
Snippets Groups Projects
Commit 464a6560 authored by Nathan Thoumine's avatar Nathan Thoumine
Browse files

Update Graph.cpp by explaining calibration cache

parent a9226b88
No related branches found
No related tags found
No related merge requests found
......@@ -140,7 +140,8 @@ void Graph::datamode(nvinfer1::DataType datatype)
/**
* @brief Calibrate the graph using the calibration data found inside the `calibration` folder.
* This folder should include a `.info` file containing the dimensions of the calibration data, along with the data stored in a `.batch` file
* This folder should include a `.info` file containing the dimensions of the calibration data, along with the data stored in a `.batch` file*
* Calibration can be expensive, so it is beneficial to generate the calibration data once and then reuse it for subsequent builds of the network. The cache includes the regression cutoff and quantile values used to generate it, and will not be used if these do not match the settings of the current calibrator. However, the network should be recalibrated if its structure changes or if the input data set changes, and it is the responsibility of the application to ensure this.
*
* @param calibration_folder_path Path to the calibration folder.
* @param cache_file_path Path to the cache file.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment