File indexing completed on 2024-04-06 12:27:33
0001
0002 set -e
0003 set -x
0004 mkdir -p TTbar_14TeV_TuneCUETP8M1_cfi/root
0005 mkdir -p TTbar_14TeV_TuneCUETP8M1_cfi/raw
0006 mkdir -p TTbar_14TeV_TuneCUETP8M1_cfi/tfr/cand
0007
0008 ./generate.sh TTbar_14TeV_TuneCUETP8M1_cfi 1 10
0009 cp pfntuple_1.root TTbar_14TeV_TuneCUETP8M1_cfi/root/
0010
0011 echo "now initialize TF 2.3"
0012 source training_env/bin/activate
0013 python3 preprocessing.py --input TTbar_14TeV_TuneCUETP8M1_cfi/root/pfntuple_1.root --save-normalized-table --outpath TTbar_14TeV_TuneCUETP8M1_cfi/raw/ --events-per-file 5
0014 python3 tf_data.py --datapath TTbar_14TeV_TuneCUETP8M1_cfi --target gen --num-files-per-tfr 1
0015 python3 tf_model.py --datapath TTbar_14TeV_TuneCUETP8M1_cfi --target gen --ntrain 5 --ntest 5