mirror of
https://github.com/geekwenjie/SmartJavaAI.git
synced 2026-09-13 13:18:58 +00:00
本地修改
This commit is contained in:
@@ -87,7 +87,7 @@ public class Seetaface6QualityModel implements FaceQualityModel {
|
||||
//加载依赖库
|
||||
NativeLoader.loadNativeLibraries(device);
|
||||
this.config = config;
|
||||
int predictorPoolSize = config.getPredictorPoolSize();
|
||||
predictorPoolSize = config.getPredictorPoolSize();
|
||||
if(config.getPredictorPoolSize() <= 0){
|
||||
predictorPoolSize = Runtime.getRuntime().availableProcessors(); // 默认等于CPU核心数
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user