GPU_NUM=0

COUNTRY_LIST=(
    # 'Albania'
    # 'Belgium'
    # 'Bulgaria'
    # 'Cyprus'
    # 'Czech'
    # 'Denmark'
    # 'Estonia'
    # 'Finland'
    # 'France' 
    # 'Hungary'
    # 'Iceland'
    # 'Ireland'
    # 'Israel'
    # 'Italy'
    # 'Kosovo'
    # 'Lithuania'
    # 'Netherlands'
    # 'Norway'
    # 'Poland'
    # 'Portugal'
    # 'Russia'
    # 'Slovakia'
    # 'Slovenia'
    # 'Spain'
    # 'Sweden'
    # 'Switzerland'
    # 'Ukraine'
    # 'United_Kingdom'
    # 'Group_1'
    # 'Group_2'
    # 'Group_3'
    # 'Group_4'
    # 'Group_5'
    # 'Group_6'
    # 'Group_10'
    # 'Group_8'
    # 'Group_10'
    # 'Group_10'
    # 'Group_11'
    # 'Group_12'
    # 'Group_13'
    # 'Group_14'
    # 'Group_15'
    # 'Group_16'
    # 'Group_17'
    # 'Group_18'
    # 'Group_19'
    # 'Group_20'
    # 'Group_21'
    # 'Group_22'
    # 'Group_23'
    # 'Group_24'
    # 'Group_25'
    # 'Group_26'
    # 'Group_27'
    # 'Group_28'
    # 'Group_29'
    # 'Group_30'
    # 'Group_31'
    # 'Group_32'
    # 'Group_33'
    # 'Group_34'
    # 'Group_35'
    # 'Group_36'
    # 'Group_37'
    # 'Group_38'
    # 'Group_39'
    # 'Group_40'
    # 'Group_41'
    # 'Group_42'
    # 'Group_43'
    # 'Group_44'
    # 'Group_45'
    # 'Group_46'
    # 'Group_47'
    # 'Group_48'
    # 'Group_49'
    # 'Group_50'
    # 'Group_51'
    # 'Group_52'
    # 'Group_53'
    # 'Group_54'
    # 'Group_55'
    # 'Group_56'
    # 'Group_57'
    # 'Group_58'
    # 'Group_59'
    # 'Group_60'
    # 'Group_61'
    # 'Group_62'
    # 'Group_63'
    # 'Group_64'
    # 'Group_65'
    # 'Group_66'
    # 'Group_67'
    # 'Group_68'
    # 'Group_69'
    # 'Group_100'
    # 'Group_101'
    # 'Group_102'
    # 'Group_103'
    # 'Group_104'
    # 'Group_105'
    # 'Group_106'
    # 'Group_107'
    # 'Group_108'
    # 'Group_109'
    # 'Group_80'
    # 'Group_81'
    # 'Group_82'
    # 'Group_83'
    # 'Group_84'
    # 'Group_85'
    # 'Group_86'
    # 'Group_87'
    # 'Group_88'
    # 'Group_89'
    # 'Group_100'
    # 'Group_101'
    # 'Group_102'
    # 'Group_103'
    # 'Group_104'
    # 'Group_105'
    # 'Group_106'
    'Group_107'
    # 'Group_108'
    # 'Group_109'
    # 'Group_100'
)

REVERSE_LIST=(
    # 'reverse_Ach'
    # 'reverse_Ben'
    'reverse_Con'
    'reverse_Hed'
    'reverse_Pow'
    # 'reverse_Sec'
    # 'reverse_SD'
    # 'reverse_Sti'
    # 'reverse_Tra'
    # 'reverse_Uni'
)

CLOSE_REVERSE_LIST=(
    'close_reverse_Ach_1'
    'close_reverse_Ben_1'
    'close_reverse_Con_1'
    'close_reverse_Hed_1'
    # 'close_reverse_Pow_1'
    # 'close_reverse_Sec_1'
    # 'close_reverse_SD_1'
    # 'close_reverse_Sti_1'
    # 'close_reverse_Tra_1'
    # 'close_reverse_Uni_1'
    # 'close_reverse_Openness_to_Change_1'
    # 'close_reverse_Self-Enhancement_1'
    # 'close_reverse_Conservation_1'
    # 'close_reverse_Self-Transcendence_1'
)

CLOSE_VALUE_LIST=(
    'close_Ach_10'
    'close_Ben_10'
    'close_Con_10'
    'close_Hed_10'
    # 'close_Pow_10'
    # 'close_Sec_10'	
    # 'close_SD_10'
    # 'close_Sti_10'
    # 'close_Tra_10'
    # 'close_Uni_10'
    # 'close_Openness_to_Change_10'
    # 'close_Self-Enhancement_10'
    # 'close_Conservation_10'
    # 'close_Self-Transcendence_10'
)


length=${#CLOSE_VALUE_LIST[@]}
echo "$length"
start="started"
finish="finished"

for ((i=0; i<${length}; i++)); do
    number=$(($i+1))
    text="$number/$length ${CLOSE_VALUE_LIST[i]} started"
    echo $text

    # python train_survey.py ${CLOSE_VALUE_LIST[i]} $GPU_NUM
    python train_argument_1.py ${CLOSE_VALUE_LIST[i]} $GPU_NUM

    python train_argument_survey_1.py ${CLOSE_VALUE_LIST[i]} $GPU_NUM

    python inference_1.py ${CLOSE_VALUE_LIST[i]} $GPU_NUM argument_survey

done

