From 75e42644a31248492b9e342d288945a9dce2f564 Mon Sep 17 00:00:00 2001 From: LDOUBLEV Date: Wed, 7 Jul 2021 12:09:37 +0800 Subject: [PATCH] unset env --- test/test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test.sh b/test/test.sh index 1cbb3601..f2ac3f8b 100644 --- a/test/test.sh +++ b/test/test.sh @@ -219,6 +219,7 @@ for gpu in ${gpu_list[*]}; do eval $env save_infer_path="${save_log}" func_inference "${python}" "${inference_py}" "${save_infer_path}" "${LOG_PATH}" "${infer_img_dir}" + eval "unset CUDA_VISIBLE_DEVICES" done done done -- GitLab