fix judge cache file of inference api more accurate (#27175)

fix judge cache file of inference api more accurate
cancel_disable_ut
Zhou Wei 4 years ago committed by GitHub
parent 4582f697b6
commit f992f8d7ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,6 +9,7 @@ if(WITH_GPU AND TENSORRT_FOUND)
endif()
function(download_data install_dir data_file)
string(REGEX MATCH "[^/\\]+$" data_file ${data_file})
if (NOT EXISTS ${install_dir}/${data_file})
inference_download_and_uncompress(${install_dir} ${INFERENCE_URL} ${data_file})
endif()

Loading…
Cancel
Save