diff --git a/model_zoo/official/cv/ssd/ascend310_infer/src/main.cc b/model_zoo/official/cv/ssd/ascend310_infer/src/main.cc index 9cefa370c5e..967635de2f5 100644 --- a/model_zoo/official/cv/ssd/ascend310_infer/src/main.cc +++ b/model_zoo/official/cv/ssd/ascend310_infer/src/main.cc @@ -67,7 +67,6 @@ int main(int argc, char **argv) { auto context = std::make_shared(); auto ascend310 = std::make_shared(); ascend310->SetDeviceID(FLAGS_device_id); - ascend310->SetPrecisionMode("allow_fp32_to_fp16"); context->MutableDeviceInfo().push_back(ascend310); mindspore::Graph graph; Serialization::Load(FLAGS_mindir_path, ModelType::kMindIR, &graph);