unset env

This commit is contained in:
LDOUBLEV 2021-07-07 12:09:37 +08:00
parent bf4e0f7a28
commit 75e42644a3
1 changed files with 1 additions and 0 deletions

View File

@ -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