Skip to content
Snippets Groups Projects

Fixes to benchmarks to run with ecce:main

Merged Wouter Deconinck requested to merge fix-ecce-options into master
1 file
+ 30
10
Compare changes
  • Side-by-side
  • Inline
@@ -4,8 +4,11 @@ ml_shower:tagging_epimuphka_100:
script:
- pwd
- ls -l
- python3 benchmarks/imaging_shower_ML/sim_rec_tag.py -t imcal_epimuphka_100 -n 100 --particles "electron,pion-,muon,photon,kaon-"
--pmin 0.5 --pmax 10
- |
if [[ ${JUGGLER_DETECTOR} =~ athena
|| ${JUGGLER_DETECTOR} =~ ecce && ${JUGGLER_DETECTOR_CONFIG} =~ imaging ]] ; then
python3 benchmarks/imaging_shower_ML/sim_rec_tag.py -t imcal_epimuphka_100 -n 100 --particles "electron,pion-,muon,photon,kaon-" --pmin 0.5 --pmax 10
fi
ml_shower:tagging_epimuphka:
extends: .rec_benchmark
@@ -13,24 +16,33 @@ ml_shower:tagging_epimuphka:
stage: benchmarks1
script:
- ls -hal
- python3 benchmarks/imaging_shower_ML/sim_rec_tag.py -t imcal_epimuphka -n 10000 --particles "electron,pion-,muon,photon,kaon-"
--pmin 0.5 --pmax 10
- |
if [[ ${JUGGLER_DETECTOR} =~ athena
|| ${JUGGLER_DETECTOR} =~ ecce && ${JUGGLER_DETECTOR_CONFIG} =~ imaging ]] ; then
python3 benchmarks/imaging_shower_ML/sim_rec_tag.py -t imcal_epimuphka -n 10000 --particles "electron,pion-,muon,photon,kaon-" --pmin 0.5 --pmax 10
fi
ml_shower:tagging_e:
extends: .rec_benchmark
when: manual
stage: benchmarks1
script:
- python3 benchmarks/imaging_shower_ML/sim_rec_tag.py -t imcal_e -n 100
--particles "electron" --pmin 0.5 --pmax 10
- |
if [[ ${JUGGLER_DETECTOR} =~ athena
|| ${JUGGLER_DETECTOR} =~ ecce && ${JUGGLER_DETECTOR_CONFIG} =~ imaging ]] ; then
python3 benchmarks/imaging_shower_ML/sim_rec_tag.py -t imcal_e -n 100 --particles "electron" --pmin 0.5 --pmax 10
fi
ml_shower:tagging_pi:
extends: .rec_benchmark
when: manual
stage: benchmarks1
script:
- python3 benchmarks/imaging_shower_ML/sim_rec_tag.py -t imcal_pi -n 100
--particles "pion-" --pmin 0.5 --pmax 10
- |
if [[ ${JUGGLER_DETECTOR} =~ athena
|| ${JUGGLER_DETECTOR} =~ ecce && ${JUGGLER_DETECTOR_CONFIG} =~ imaging ]] ; then
python3 benchmarks/imaging_shower_ML/sim_rec_tag.py -t imcal_pi -n 100 --particles "pion-" --pmin 0.5 --pmax 10
fi
ml_shower:training_100:
extends: .rec_benchmark
@@ -38,7 +50,11 @@ ml_shower:training_100:
needs: ["ml_shower:tagging_epimuphka_100"]#, "ml_shower:tagging_e", "ml_shower:tagging_pi"]
script:
- python3 -m pip install tensorflow particle
- python3 benchmarks/imaging_shower_ML/scripts/ml_training.py -t imcal_epimuphka_100 --pmin 0.5 --pmax 10
- |
if [[ ${JUGGLER_DETECTOR} =~ athena
|| ${JUGGLER_DETECTOR} =~ ecce && ${JUGGLER_DETECTOR_CONFIG} =~ imaging ]] ; then
python3 benchmarks/imaging_shower_ML/scripts/ml_training.py -t imcal_epimuphka_100 --pmin 0.5 --pmax 10
fi
ml_shower:training:
extends: .rec_benchmark
@@ -47,7 +63,11 @@ ml_shower:training:
needs: ["ml_shower:tagging_epimuphka"]#, "ml_shower:tagging_e", "ml_shower:tagging_pi"]
script:
- python3 -m pip install tensorflow particle
- python3 benchmarks/imaging_shower_ML/scripts/ml_training.py -t imcal_epimuphka --pmin 0.5 --pmax 10
- |
if [[ ${JUGGLER_DETECTOR} =~ athena
|| ${JUGGLER_DETECTOR} =~ ecce && ${JUGGLER_DETECTOR_CONFIG} =~ imaging ]] ; then
python3 benchmarks/imaging_shower_ML/scripts/ml_training.py -t imcal_epimuphka --pmin 0.5 --pmax 10
fi
ml_shower:test:
extends: .rec_benchmark
Loading