Fix model optimisation

This commit is contained in:
2026-04-09 08:09:02 +10:00
parent 34854d87f4
commit eeb205779a
10 changed files with 688 additions and 160 deletions

View File

@@ -314,9 +314,10 @@ int CustomModel_StressTest_FilePlayer() {
std::cout << "\n--- Test 1: Handle creation (elastic mode) ---\n" << std::endl;
std::cout << "Optimizing model, please wait..." << std::endl;
std::string optimizedFolder = OptimizeModelStr(
std::string optimizedFolder;
OptimizeModelStr(
modelFolder.c_str(), "",
modelType, detectorType, 1);
modelType, detectorType, 1, optimizedFolder);
std::cout << "Optimized model folder: " << optimizedFolder << std::endl;