|
|
@ -41,9 +41,13 @@ detection_library(sigmoid_focal_loss_op SRCS sigmoid_focal_loss_op.cc sigmoid_fo
|
|
|
|
detection_library(retinanet_detection_output_op SRCS retinanet_detection_output_op.cc)
|
|
|
|
detection_library(retinanet_detection_output_op SRCS retinanet_detection_output_op.cc)
|
|
|
|
|
|
|
|
|
|
|
|
if(WITH_GPU)
|
|
|
|
if(WITH_GPU)
|
|
|
|
detection_library(generate_proposals_op SRCS generate_proposals_op.cc generate_proposals_op.cu DEPS memory cub)
|
|
|
|
set(TMPDEPS memory)
|
|
|
|
detection_library(distribute_fpn_proposals_op SRCS distribute_fpn_proposals_op.cc distribute_fpn_proposals_op.cu DEPS memory cub)
|
|
|
|
if (${CMAKE_CUDA_COMPILER_VERSION} LESS 11.0)
|
|
|
|
detection_library(collect_fpn_proposals_op SRCS collect_fpn_proposals_op.cc collect_fpn_proposals_op.cu DEPS memory cub)
|
|
|
|
set(TMPDEPS memory cub)
|
|
|
|
|
|
|
|
endif()
|
|
|
|
|
|
|
|
detection_library(generate_proposals_op SRCS generate_proposals_op.cc generate_proposals_op.cu DEPS ${TMPDEPS})
|
|
|
|
|
|
|
|
detection_library(distribute_fpn_proposals_op SRCS distribute_fpn_proposals_op.cc distribute_fpn_proposals_op.cu DEPS ${TMPDEPS})
|
|
|
|
|
|
|
|
detection_library(collect_fpn_proposals_op SRCS collect_fpn_proposals_op.cc collect_fpn_proposals_op.cu DEPS ${TMPDEPS})
|
|
|
|
else()
|
|
|
|
else()
|
|
|
|
detection_library(generate_proposals_op SRCS generate_proposals_op.cc)
|
|
|
|
detection_library(generate_proposals_op SRCS generate_proposals_op.cc)
|
|
|
|
detection_library(distribute_fpn_proposals_op SRCS distribute_fpn_proposals_op.cc)
|
|
|
|
detection_library(distribute_fpn_proposals_op SRCS distribute_fpn_proposals_op.cc)
|
|
|
|