#!/usr/bin/env bash

if false; then
echo "ResNet18 + GRU"
python win_video_rarp.py --Phase "train" --Fold 0 --Log_Name "log_XT3" --CNN_name "resnet18" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT3" --CNN_name "resnet18" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 2 --Log_Name "log_XT3" --CNN_name "resnet18" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 3 --Log_Name "log_XT3" --CNN_name "resnet18" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 4 --Log_Name "log_XT3" --CNN_name "resnet18" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1

echo "ResNet18 + TCN"
python win_video_rarp.py --Phase "train" --Fold 0 --Log_Name "log_XT3" --CNN_name "resnet18" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT3" --CNN_name "resnet18" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 2 --Log_Name "log_XT3" --CNN_name "resnet18" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 3 --Log_Name "log_XT3" --CNN_name "resnet18" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 4 --Log_Name "log_XT3" --CNN_name "resnet18" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1

echo "ResNet50 + GRU"
python win_video_rarp.py --Phase "train" --Fold 0 --Log_Name "log_XT3" --CNN_name "resnet50" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT3" --CNN_name "resnet50" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 2 --Log_Name "log_XT3" --CNN_name "resnet50" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 3 --Log_Name "log_XT3" --CNN_name "resnet50" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 4 --Log_Name "log_XT3" --CNN_name "resnet50" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1

echo "ResNet50 + TCN"
python win_video_rarp.py --Phase "train" --Fold 0 --Log_Name "log_XT3" --CNN_name "resnet50" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT3" --CNN_name "resnet50" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 2 --Log_Name "log_XT3" --CNN_name "resnet50" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 3 --Log_Name "log_XT3" --CNN_name "resnet50" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 4 --Log_Name "log_XT3" --CNN_name "resnet50" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1

echo "VAN_b2 + GRU"
python win_video_rarp.py --Phase "train" --Fold 0 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 2 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 3 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 4 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1

echo "VAN_b2 + TCN"
python win_video_rarp.py --Phase "train" --Fold 0 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 2 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 3 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 4 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1

echo "VAN_b2 + transformer"
python win_video_rarp.py --Phase "train" --Fold 0 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "transf" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "transf" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 2 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "transf" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 3 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "transf" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 4 --Log_Name "log_XT3" --CNN_name "van_b2" --Temp_Head "transf" --Workers 5 --pre_train 1 --GPU 1

echo "VAN_b2 + GRU"
python win_video_rarp.py --Phase "train" --Fold 0 --Log_Name "log_XT4" --CNN_name "van_b2" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT4" --CNN_name "van_b2" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 2 --Log_Name "log_XT4" --CNN_name "van_b2" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 3 --Log_Name "log_XT4" --CNN_name "van_b2" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1
python win_video_rarp.py --Phase "train" --Fold 4 --Log_Name "log_XT4" --CNN_name "van_b2" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1

echo "VAN_b1 + GRU"
python MIL_video_rarp.py --Phase "train" --Fold 0 --Log_Name "log_XT5" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
python MIL_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT5" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
python MIL_video_rarp.py --Phase "train" --Fold 2 --Log_Name "log_XT5" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
python MIL_video_rarp.py --Phase "train" --Fold 3 --Log_Name "log_XT5" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
python MIL_video_rarp.py --Phase "train" --Fold 4 --Log_Name "log_XT5" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72

echo "VAN_b1 + GRU (cached)"
python MIL_video_rarp.py --Phase "train" --Fold 0 --Log_Name "log_XT5" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72 --cached_features 1
python MIL_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT5" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72 --cached_features 1
python MIL_video_rarp.py --Phase "train" --Fold 2 --Log_Name "log_XT5" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72 --cached_features 1
python MIL_video_rarp.py --Phase "train" --Fold 3 --Log_Name "log_XT5" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72 --cached_features 1
python MIL_video_rarp.py --Phase "train" --Fold 4 --Log_Name "log_XT5" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72 --cached_features 1

echo "VAN_b1 + GRU + Attn.Reg."
python MIL_video_rarp.py --Phase "train" --Fold 0 --Log_Name "log_XT6" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
python MIL_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT6" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
python MIL_video_rarp.py --Phase "train" --Fold 2 --Log_Name "log_XT6" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
python MIL_video_rarp.py --Phase "train" --Fold 3 --Log_Name "log_XT6" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
python MIL_video_rarp.py --Phase "train" --Fold 4 --Log_Name "log_XT6" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72

echo "GSViT + GRU + Attn.Reg."
python MIL_video_rarp.py --Phase "train" --Fold 0 --Log_Name "log_XT7" --CNN_name "gsvit" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
python MIL_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT7" --CNN_name "gsvit" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
python MIL_video_rarp.py --Phase "train" --Fold 2 --Log_Name "log_XT7" --CNN_name "gsvit" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
python MIL_video_rarp.py --Phase "train" --Fold 3 --Log_Name "log_XT7" --CNN_name "gsvit" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
python MIL_video_rarp.py --Phase "train" --Fold 4 --Log_Name "log_XT7" --CNN_name "gsvit" --Temp_Head "tcn" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72

fi
echo "VAN_b1 + GRU + Attn.Reg."
#python MIL_video_rarp.py --Phase "train" --Fold 0 --Log_Name "log_XT6" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
python MIL_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT6" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 0 -b 2 --Num_Window 10 --Window_Size 72 --seed 658
python MIL_video_rarp.py --Phase "train" --Fold 1 --Log_Name "log_XT6" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 0 -b 2 --Num_Window 10 --Window_Size 72 --seed 2032
#python MIL_video_rarp.py --Phase "train" --Fold 2 --Log_Name "log_XT6" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
#python MIL_video_rarp.py --Phase "train" --Fold 3 --Log_Name "log_XT6" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72
#python MIL_video_rarp.py --Phase "train" --Fold 4 --Log_Name "log_XT6" --CNN_name "van_b1" --Temp_Head "gru" --Workers 5 --pre_train 1 --GPU 1 -b 2 --Num_Window 10 --Window_Size 72

