#!/bin/bash

# Ctrl+C 입력 시 모든 백그라운드 작업 종료
trap "echo 'Stopping...'; pkill -P $$; exit" SIGINT

# 병렬 실행




CUDA_VISIBLE_DEVICES=0 python test_time.py --cfg cfgs/cifar10_c/tent.yaml   SETTING reset_each_shift CORRUPTION.DATASET cifar10_c TEST.BATCH_SIZE 16 RNG_SEED 0&      ## Original method, at BN
CUDA_VISIBLE_DEVICES=0 python test_time.py --cfg cfgs/cifar10_c/tent_buffer.yaml SETTING reset_each_shift CORRUPTION.DATASET cifar10_c TEST.BATCH_SIZE 16 RNG_SEED 0& ## Buffered method, at Buffer


# CUDA_VISIBLE_DEVICES=0 python test_time.py --cfg cfgs/cifar10_c/cmf.yaml   SETTING reset_each_shift CORRUPTION.DATASET cifar10_c TEST.BATCH_SIZE 16 RNG_SEED 0&      ## Original method, at BN
# CUDA_VISIBLE_DEVICES=0 python test_time.py --cfg cfgs/cifar10_c/cmf_buffer.yaml SETTING reset_each_shift CORRUPTION.DATASET cifar10_c TEST.BATCH_SIZE 16 RNG_SEED 0& ## Buffered method, at Buffer


## ... and so on ...

wait
