|
a |
|
b/test.sh |
|
|
1 |
results_path="./test" # replace to your results path |
|
|
2 |
batch_size=8 |
|
|
3 |
weight_path="checkpoint_best.pt" |
|
|
4 |
|
|
|
5 |
TASK="PCBA" # DUDE or PCBA |
|
|
6 |
|
|
|
7 |
CUDA_VISIBLE_DEVICES="1" python ./unimol/test.py --user-dir ./unimol $data_path "./data" --valid-subset test \ |
|
|
8 |
--results-path $results_path \ |
|
|
9 |
--num-workers 8 --ddp-backend=c10d --batch-size $batch_size \ |
|
|
10 |
--task drugclip --loss in_batch_softmax --arch drugclip \ |
|
|
11 |
--fp16 --fp16-init-scale 4 --fp16-scale-window 256 --seed 1 \ |
|
|
12 |
--path $weight_path \ |
|
|
13 |
--log-interval 100 --log-format simple \ |
|
|
14 |
--max-pocket-atoms 511 \ |
|
|
15 |
--test-task $TASK \ |