From 23d34d1f7e553bdcf4ac1d270f9e828f8cf99baf Mon Sep 17 00:00:00 2001 From: dengkaipeng Date: Tue, 29 Jan 2019 16:15:38 +0800 Subject: [PATCH] move yolov3_loss to detection. test=develop --- paddle/fluid/operators/detection/CMakeLists.txt | 1 + paddle/fluid/operators/{ => detection}/yolov3_loss_op.cc | 2 +- paddle/fluid/operators/{ => detection}/yolov3_loss_op.h | 0 3 files changed, 2 insertions(+), 1 deletion(-) rename paddle/fluid/operators/{ => detection}/yolov3_loss_op.cc (99%) rename paddle/fluid/operators/{ => detection}/yolov3_loss_op.h (100%) diff --git a/paddle/fluid/operators/detection/CMakeLists.txt b/paddle/fluid/operators/detection/CMakeLists.txt index d3a61dc367c..cace42bc1ba 100644 --- a/paddle/fluid/operators/detection/CMakeLists.txt +++ b/paddle/fluid/operators/detection/CMakeLists.txt @@ -31,6 +31,7 @@ detection_library(polygon_box_transform_op SRCS polygon_box_transform_op.cc polygon_box_transform_op.cu) detection_library(rpn_target_assign_op SRCS rpn_target_assign_op.cc) detection_library(generate_proposal_labels_op SRCS generate_proposal_labels_op.cc) +detection_library(yolov3_loss_op SRCS yolov3_loss_op.cc) if(WITH_GPU) detection_library(generate_proposals_op SRCS generate_proposals_op.cc generate_proposals_op.cu DEPS memory cub) diff --git a/paddle/fluid/operators/yolov3_loss_op.cc b/paddle/fluid/operators/detection/yolov3_loss_op.cc similarity index 99% rename from paddle/fluid/operators/yolov3_loss_op.cc rename to paddle/fluid/operators/detection/yolov3_loss_op.cc index 81fd87b4ac1..2a69ad4b53c 100644 --- a/paddle/fluid/operators/yolov3_loss_op.cc +++ b/paddle/fluid/operators/detection/yolov3_loss_op.cc @@ -9,7 +9,7 @@ See the License for the specific language governing permissions and limitations under the License. */ -#include "paddle/fluid/operators/yolov3_loss_op.h" +#include "paddle/fluid/operators/detection/yolov3_loss_op.h" #include "paddle/fluid/framework/op_registry.h" namespace paddle { diff --git a/paddle/fluid/operators/yolov3_loss_op.h b/paddle/fluid/operators/detection/yolov3_loss_op.h similarity index 100% rename from paddle/fluid/operators/yolov3_loss_op.h rename to paddle/fluid/operators/detection/yolov3_loss_op.h -- GitLab