rm mkl
This commit is contained in:
parent
51a8d23392
commit
fd66c409b0
|
@ -25,7 +25,7 @@ void DBDetector::LoadModel(const std::string &model_dir) {
|
||||||
config.EnableUseGpu(this->gpu_mem_, this->gpu_id_);
|
config.EnableUseGpu(this->gpu_mem_, this->gpu_id_);
|
||||||
} else {
|
} else {
|
||||||
config.DisableGpu();
|
config.DisableGpu();
|
||||||
config.EnableMKLDNN(); // 开启MKLDNN加速
|
// config.EnableMKLDNN(); // not sugesteed to use for now
|
||||||
config.SetCpuMathLibraryNumThreads(this->cpu_math_library_num_threads_);
|
config.SetCpuMathLibraryNumThreads(this->cpu_math_library_num_threads_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -128,7 +128,7 @@ void CRNNRecognizer::LoadModel(const std::string &model_dir) {
|
||||||
config.EnableUseGpu(this->gpu_mem_, this->gpu_id_);
|
config.EnableUseGpu(this->gpu_mem_, this->gpu_id_);
|
||||||
} else {
|
} else {
|
||||||
config.DisableGpu();
|
config.DisableGpu();
|
||||||
config.EnableMKLDNN(); // 开启MKLDNN加速
|
// config.EnableMKLDNN(); // not sugesteed to use for now
|
||||||
config.SetCpuMathLibraryNumThreads(this->cpu_math_library_num_threads_);
|
config.SetCpuMathLibraryNumThreads(this->cpu_math_library_num_threads_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue