-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathrun_test.sh
31 lines (26 loc) · 2.49 KB
/
run_test.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/bin/bash
CHECKPOINT=log/h128_full/best_*.pt
TYPE=full
python3 test_s2s.py --cuda --features ${TYPE} --file_splits ../data/cath/chain_set_splits.json --restore ${CHECKPOINT} > log/test_all_h128_${TYPE}.log
python3 test_s2s.py --cuda --features ${TYPE} --file_splits ../data/SPIN2/test_split_sc.json --restore ${CHECKPOINT} > log/test_sc_h128_${TYPE}.log
python3 test_s2s.py --cuda --features ${TYPE} --file_splits ../data/SPIN2/test_split_L100.json --restore ${CHECKPOINT} > log/test_L100_h128_${TYPE}.log
CHECKPOINT=checkpoints/h128_coarse/best_*.pt
TYPE=coarse
python3 test_s2s.py --cuda --features ${TYPE} --file_splits ../data/cath/chain_set_splits.json --restore ${CHECKPOINT} > log/test_all_h128_${TYPE}.log
python3 test_s2s.py --cuda --features ${TYPE} --file_splits ../data/SPIN2/test_split_sc.json --restore ${CHECKPOINT} > log/test_sc_h128_${TYPE}.log
python3 test_s2s.py --cuda --features ${TYPE} --file_splits ../data/SPIN2/test_split_L100.json --restore ${CHECKPOINT} > log/test_L100_h128_${TYPE}.log
CHECKPOINT=checkpoints/h128_dist/best_*.pt
TYPE=dist
python3 test_s2s.py --cuda --features ${TYPE} --file_splits ../data/cath/chain_set_splits.json --restore ${CHECKPOINT} > log/test_all_h128_${TYPE}.log
python3 test_s2s.py --cuda --features ${TYPE} --file_splits ../data/SPIN2/test_split_sc.json --restore ${CHECKPOINT} > log/test_sc_h128_${TYPE}.log
python3 test_s2s.py --cuda --features ${TYPE} --file_splits ../data/SPIN2/test_split_L100.json --restore ${CHECKPOINT} > log/test_L100_h128_${TYPE}.log
CHECKPOINT=checkpoints/h128_hbonds/best_*.pt
TYPE=hbonds
python3 test_s2s.py --cuda --features ${TYPE} --file_splits ../data/cath/chain_set_splits.json --restore ${CHECKPOINT} > log/test_all_h128_${TYPE}.log
python3 test_s2s.py --cuda --features ${TYPE} --file_splits ../data/SPIN2/test_split_sc.json --restore ${CHECKPOINT} > log/test_sc_h128_${TYPE}.log
python3 test_s2s.py --cuda --features ${TYPE} --file_splits ../data/SPIN2/test_split_L100.json --restore ${CHECKPOINT} > log/test_L100_h128_${TYPE}.log
CHECKPOINT=checkpoints/h128_mpnn/best_*.pt
TYPE=full
python3 test_s2s.py --cuda --features ${TYPE} --mpnn --file_splits ../data/cath/chain_set_splits.json --restore ${CHECKPOINT} > log/test_all_h128_mpnn.log
python3 test_s2s.py --cuda --features ${TYPE} --mpnn --file_splits ../data/SPIN2/test_split_sc.json --restore ${CHECKPOINT} > log/test_sc_h128_mpnn.log
python3 test_s2s.py --cuda --features ${TYPE} --mpnn --file_splits ../data/SPIN2/test_split_L100.json --restore ${CHECKPOINT} > log/test_L100_h128_mpnn.log