forked from jpata/particleflow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtrain.sh
executable file
·18 lines (16 loc) · 940 Bytes
/
train.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/bash
### PyTorch model training - WIP
#singularity exec -B /storage --nv ~jpata/gpuservers/singularity/images/pytorch.simg \
# python3 test/train_end2end.py \
# --dataset /storage/group/gpu/bigdata/particleflow/TTbar_14TeV_TuneCUETP8M1_cfi \
# --n_train 500 --n_test 100 \
# --model PFNet7 --convlayer gravnet-radius --lr 0.0001 \
# --hidden_dim 512 --n_epochs 50 \
# --l1 1.0 --l2 0.001 --l3 0.0 \
# --target gen \
# --dropout 0.2
###Keras model trainings - current SOTA
CUDA_VISIBLE_DEVICES=0,1,2,3 singularity exec -B /storage --nv ~jpata/gpuservers/singularity/images/pytorch.simg \
python3 test/tf_model.py --target cand --ntrain 400000 --ntest 100000 --nepochs 100 --lr 0.00001 \
--datapath /storage/group/gpu/bigdata/particleflow/TTbar_14TeV_TuneCUETP8M1_cfi \
--nhidden 256 --distance-dim 256 --num-conv 4 --weights inverse --lr-decay 0 --convlayer ghconv --load experiments/run_04/weights.100-68.877221.hdf5