Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Tools/ML/MlResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,10 @@ class MlResponse
void setModelPathsCCDB(const std::vector<std::string>& onnxFiles, const o2::ccdb::CcdbApi& ccdbApi, const std::vector<std::string>& pathsCCDB, int64_t timestampCCDB)
{
if (onnxFiles.size() != mNModels) {
LOG(fatal) << "Number of expected models (" << mNModels << ") different from the one set (" << onnxFiles.size() << ")! Please check your configurables.";
LOG(fatal) << "Number of expected models (" << static_cast<int>(mNModels) << ") different from the one set (" << onnxFiles.size() << ")! Please check your configurables.";
}
if (pathsCCDB.size() != mNModels) {
LOG(fatal) << "Number of expected models (" << mNModels << ") different from the number of CCDB paths (" << pathsCCDB.size() << ")! Please check your configurables.";
LOG(fatal) << "Number of expected models (" << static_cast<int>(mNModels) << ") different from the number of CCDB paths (" << pathsCCDB.size() << ")! Please check your configurables.";
}

// check that the path is unique for each BDT model (otherwise CCDB download does not work as expected)
Expand Down Expand Up @@ -140,7 +140,7 @@ class MlResponse
void setModelPathsLocal(const std::vector<std::string>& onnxFiles)
{
if (onnxFiles.size() != mNModels) {
LOG(fatal) << "Number of expected models (" << mNModels << ") different from the one set (" << onnxFiles.size() << ")! Please check your configurables.";
LOG(fatal) << "Number of expected models (" << static_cast<int>(mNModels) << ") different from the one set (" << onnxFiles.size() << ")! Please check your configurables.";
}
mPaths = onnxFiles;
}
Expand Down
Loading