|
@@ -250,12 +250,6 @@ public class PAIModelV2 {
|
|
|
|
|
|
|
|
List<Float> result = response.getFloatVals("probs");
|
|
List<Float> result = response.getFloatVals("probs");
|
|
|
|
|
|
|
|
- long totalTime = System.currentTimeMillis() - totalStart;
|
|
|
|
|
- if (totalTime > 300) {
|
|
|
|
|
- LOGGER.error("PAIModelV2 score slow itemSize={} totalTime={}ms buildFeature={}ms predict={}ms",
|
|
|
|
|
- items.size(), totalTime, buildFeatureTime, predictTime);
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
if (!CollectionUtils.isEmpty(result)) {
|
|
if (!CollectionUtils.isEmpty(result)) {
|
|
|
return result;
|
|
return result;
|
|
|
}
|
|
}
|