remove aug test
@@ -142,8 +142,10 @@ function init_test(){
expect \"how many epochs do you run training (integer):\"
send \"\b\b\b1\n\"
expect \"Next step:\"
- "
+ " > /dev/null
assert $? 0
+ # Wait for complete ${RUN_SCRIPT} init
+ sleep 1
mv config/${CONFIG_NAME}.yml ${TMP_TEST_DIR}/
YML_CONFIG_FILE=${TMP_TEST_DIR}/${CONFIG_NAME}.yml
@ 0 diff ${YML_CONFIG_FILE} ${TEST_YML_CONFIG_FILE}
@@ -223,18 +225,9 @@ if [ "${YML_CONFIG_FILE}" == "" ]; then
do
for TEST_CASE in "${DATASET_FORMAT}_${TASK_TYPE}" "${DATASET_FORMAT}_${TASK_TYPE}_has_validation"
do
- for ENABLE_DATA_AUGMENTATION in "Y" "n"
- do
- if [ ${ENABLE_DATA_AUGMENTATION} == "n" ]; then
TRAINING_DATASET_PATH=$(get_yaml_param train_path tests/config/${TEST_CASE}.yml)
VALIDATION_DATASET_PATH=$(get_yaml_param test_path tests/config/${TEST_CASE}.yml)
init_test ${TEST_CASE} ${TASK_TYPE_NUMBER} 1 1 ${DATASET_FORMAT_NUMBER} ${ENABLE_DATA_AUGMENTATION} 0 ${TRAINING_DATASET_PATH} ${VALIDATION_DATASET_PATH}
- else
- TRAINING_DATASET_PATH=$(get_yaml_param train_path tests/config/${TEST_CASE}_aug.yml)
- VALIDATION_DATASET_PATH=$(get_yaml_param test_path tests/config/${TEST_CASE}_aug.yml)
- init_test ${TEST_CASE} ${TASK_TYPE_NUMBER} 1 1 ${DATASET_FORMAT_NUMBER} "n" 1 ${TRAINING_DATASET_PATH} ${VALIDATION_DATASET_PATH}
- fi
- done
basic_test
if [ ${ADDITIONAL_TEST_FLAG} -eq 0 ]; then
# Run additional test only once
