Skip to content

Commit

Permalink
build(traffic_light_ssd_fine_detector): add DOWNLOAD_ARTIFACTS logic
Browse files Browse the repository at this point in the history
Signed-off-by: Esteve Fernandez <[email protected]>
  • Loading branch information
esteve committed Mar 22, 2023
1 parent 94073e9 commit c537a5b
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions perception/traffic_light_ssd_fine_detector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,11 @@ function(download FILE_NAME FILE_HASH)
message(FATAL_ERROR "Error occurred during download: ${ERROR_MESSAGE}")
endif()
endfunction()
download(mb2-ssd-lite-tlr.onnx 34ce7f2cbacbf6da8bc35769f027b73f)
download(voc_labels_tl.txt e9f45efb02f2a9aa8ac27b3d5c164905)

if(DOWNLOAD_ARTIFACTS)
download(mb2-ssd-lite-tlr.onnx 34ce7f2cbacbf6da8bc35769f027b73f)
download(voc_labels_tl.txt e9f45efb02f2a9aa8ac27b3d5c164905)
endif()

if(TRT_AVAIL AND CUDA_AVAIL AND CUDNN_AVAIL)
include_directories(
Expand Down

0 comments on commit c537a5b

Please sign in to comment.