#!/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"