From fa75a63c09ed79576cfbf105be1f76bf8daa0679 Mon Sep 17 00:00:00 2001
From: Chao Peng <cpeng@anl.gov>
Date: Sun, 20 Jun 2021 20:41:28 -0500
Subject: [PATCH] add config into gitlab-ci
---
.gitlab-ci.yml | 1 +
benchmarks/imaging_shower_ML/config.yml | 24 ++++++++++++++++++++++--
2 files changed, 23 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index dbcc78e1..3c943649 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -61,6 +61,7 @@ include:
- local: 'benchmarks/clustering/config.yml'
- local: 'benchmarks/rich/config.yml'
- local: 'benchmarks/imaging_ecal/config.yml'
+ - local: 'benchmarks/imaging_shower_ML/config.yml'
final_report:
diff --git a/benchmarks/imaging_shower_ML/config.yml b/benchmarks/imaging_shower_ML/config.yml
index 70c79ecd..bccac7e7 100644
--- a/benchmarks/imaging_shower_ML/config.yml
+++ b/benchmarks/imaging_shower_ML/config.yml
@@ -1,12 +1,31 @@
-ml_shower:tagging :
+ml_shower:tagging_epi :
extends: .rec_benchmark
+ when: manual
+ stage: process
+ timeout: 8 hour
+ script:
+ - python3 benchmarks/imaging_shower_ML/sim_rec_tag.py -t imshower -n 10000 --particles "electron,pion-,pion-" --pmin 0.5 --pmax 10
+
+
+ml_shower:tagging_e :
+ extends: .rec_benchmark
+ when: manual
stage: process
timeout: 8 hour
script:
- python3 benchmarks/imaging_shower_ML/sim_rec_tag.py -t imshower -n 10000 --particles "electron" --pmin 0.5 --pmax 10
+ml_shower:tagging_pi :
+ extends: .rec_benchmark
+ when: manual
+ stage: process
+ timeout: 8 hour
+ script:
+ - python3 benchmarks/imaging_shower_ML/sim_rec_tag.py -t imshower -n 10000 --particles "pion-" --pmin 0.5 --pmax 10
+
ml_shower:training:
extends: .rec_benchmark
+ when: manual
stage: process
needs: ["ml_shower:tagging"]
script:
@@ -15,8 +34,9 @@ ml_shower:training:
ml_shower:test:
extends: .rec_benchmark
+ when: manual
stage: collect
- needs: ["ml_shower:tagging"]
+ needs: ["ml_shower:training"]
script:
- ls -lrth
# TODO
--
GitLab