From 5246285e3431c4e8dfc0f2193dac038649ced9c9 Mon Sep 17 00:00:00 2001 From: jerrywgz Date: Mon, 21 Jan 2019 03:11:49 +0000 Subject: [PATCH] test=develop --- paddle/fluid/operators/detection/box_clip_op.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paddle/fluid/operators/detection/box_clip_op.cc b/paddle/fluid/operators/detection/box_clip_op.cc index fb94d0fbc6..e47027d98c 100644 --- a/paddle/fluid/operators/detection/box_clip_op.cc +++ b/paddle/fluid/operators/detection/box_clip_op.cc @@ -45,7 +45,7 @@ class BoxClipOp : public framework::OperatorWithKernel { protected: framework::OpKernelType GetExpectedKernelType( const framework::ExecutionContext& ctx) const override { - auto data_type = framework::GetDataTypeOfVar(ctx.InputVar("RpnRois")); + auto data_type = framework::GetDataTypeOfVar(ctx.InputVar("InputBox")); return framework::OpKernelType(data_type, platform::CPUPlace()); } }; -- GitLab