From bba2bb4dab4ff77293ce2237578c426f1908911e Mon Sep 17 00:00:00 2001 From: barrierye Date: Wed, 25 Mar 2020 21:26:59 +0800 Subject: [PATCH] print info before calculate auc in cube test --- tools/serving_build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/serving_build.sh b/tools/serving_build.sh index 1b4f0ad0..7b42cb84 100644 --- a/tools/serving_build.sh +++ b/tools/serving_build.sh @@ -193,6 +193,7 @@ function python_run_criteo_ctr_with_cube() { check_cmd "mkdir work_dir1 && cp cube/conf/cube.conf ./work_dir1/" python test_server.py ctr_serving_model_kv & check_cmd "python test_client.py ctr_client_conf/serving_client_conf.prototxt ./ut_data >score" + tail -n 2 score AUC=$(tail -n 2 score | awk 'NR==1') VAR2="0.70" RES=$( echo "$AUC>$VAR2" | bc ) -- GitLab