Skip to content

Commit 6cd5190

Browse files
maciaccoalibuild
andauthored
[ML]: update tutorial code and configuration (AliceO2Group#7943)
* [ML]: update tutorial code and configuration * Please consider the following formatting changes --------- Co-authored-by: ALICE Action Bot <[email protected]>
1 parent b8dc89e commit 6cd5190

File tree

2 files changed

+205
-408
lines changed

2 files changed

+205
-408
lines changed

Tutorials/ML/applyMlSelection.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
/// \file applyMlSelection.cxx
1313
/// \brief Showcase usage of trained ML model exported to ONNX format for candidate selection in analysis
14-
/// \brief This is only the starting point for the tutorial. The complete task is available at https://github.com/AliceO2Group/analysis-tutorials/tree/master/o2at-3/machineLearning/MlInference
14+
/// \brief This is only the starting point for the tutorial. The complete task is available at https://github.com/AliceO2Group/analysis-tutorials/tree/master/o2at-4/machineLearning/MlInference
1515
///
1616
/// \author Fabio Catalano <[email protected]>, CERN
1717

@@ -45,7 +45,7 @@ struct applyMlSelection {
4545
// Bonus: CCDB configuration (needed for ML application on the GRID)
4646
Configurable<bool> loadModelsFromCCDB{"loadModelsFromCCDB", false, "Flag to enable or disable the loading of models from CCDB"};
4747
Configurable<std::string> ccdbUrl{"ccdbUrl", "http://alice-ccdb.cern.ch", "url of the ccdb repository"};
48-
Configurable<std::string> modelPathsCCDB{"modelPathsCCDB", "Users/f/fcatalan/O2AT3/MlInference", "Path on CCDB"};
48+
Configurable<std::vector<std::string>> modelPathsCCDB{"modelPathsCCDB", std::vector<std::string>{"Users/c/ciacco/O2AT4/MlInference"}, "Path on CCDB"};
4949
Configurable<int64_t> timestampCCDB{"timestampCCDB", -1, "timestamp of the ONNX file for ML model used to query in CCDB"};
5050

5151
Filter filterDsFlag = (o2::aod::hf_track_index::hfflag & static_cast<uint8_t>(BIT(aod::hf_cand_3prong::DecayType::DsToKKPi))) != static_cast<uint8_t>(0);

0 commit comments

Comments
 (0)