ssd300 performance fix

This commit is contained in:
zhangxiaoxiao 2021-09-08 11:32:23 +08:00
parent 00ac7b855c
commit c56605bcf8
1 changed files with 0 additions and 1 deletions

View File

@ -67,7 +67,6 @@ int main(int argc, char **argv) {
auto context = std::make_shared<Context>();
auto ascend310 = std::make_shared<mindspore::Ascend310DeviceInfo>();
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);