File size: 444 Bytes
a887ffc
 
 
 
1927f8f
a887ffc
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

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

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

CUDA_VISIBLE_DEVICES=0 nohup python -u -m scripts.preprocess \
    hydra.run.dir="${run_dir}" \
    data_task=${data_task_type}/remap \
    > "${run_dir}/run.log" 2>&1 &

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