File size: 1,136 Bytes
7b33404
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9da03b7
7b33404
 
 
 
 
 
 
 
9da03b7
 
 
 
7b33404
 
 
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
32
#!/bin/bash

# Manually specify values used in the config
main_task="eval"
model_type="classifier"
timestamp=$(date "+%Y-%m-%d_%H-%M-%S")

run_dir="$HOME/DPACMAN/logs/${main_task}/${model_type}/runs/${timestamp}"
mkdir -p "$run_dir"

if [ -z "$WANDB_API_KEY" ]; then
    read -s -p "Enter your WANDB API key: " wandb_key
    echo
    export WANDB_API_KEY="$wandb_key"
fi

CUDA_VISIBLE_DEVICES=2 nohup python -u -m scripts.eval \
  hydra.run.dir="${run_dir}" \
  data_module.test_file="data_files/processed/splits/by_dna/test.csv" \
  data_module.tr_shelf_path="data_files/processed/embeddings/fimo_hits_only/trs_esm.shelf" \
  data_module.dna_shelf_path="data_files/processed/embeddings/fimo_hits_only/peaks_caduceus.shelf" \
  data_module.batch_size=16 \
  model.glm_input_dim=256 \
  model.compressed_dim=256 \
  model.hidden_dim=256 \
  data_module.score_col="binary_scores" \
  data_module.norm_value=1 \
  model.loss_type="binary" \
  ckpt_path="/home/a03-svincoff/DPACMAN/logs/train/classifier/runs/2025-08-28_04-37-58-stoic-snowball-99/checkpoints/epoch_009.ckpt" \
  > "${run_dir}/run.log" 2>&1 &

echo $! > "${run_dir}/pid.txt"