From 17675f1c6447b6e014b520608ce6d5f1f2e9707a Mon Sep 17 00:00:00 2001 From: xuxiuxi <554325746@qq.com> Date: 星期一, 04 三月 2019 16:28:42 +0800 Subject: [PATCH] add models, daos and controllers for tables. --- QiaoJiaSystem/YoloServer/main.cpp | 15 ++++++++------- 1 files changed, 8 insertions(+), 7 deletions(-) diff --git a/QiaoJiaSystem/YoloServer/main.cpp b/QiaoJiaSystem/YoloServer/main.cpp index a69beb9..bd62a14 100644 --- a/QiaoJiaSystem/YoloServer/main.cpp +++ b/QiaoJiaSystem/YoloServer/main.cpp @@ -7,6 +7,7 @@ #include <basic/util/app/AppConfig.h> int main(int argc, char **argv) { + std::cout<<__DATE__<<" "<<__TIME__<<std::endl; SAVE_APP_ARGS; ENABLEGLOG(GET_STR_CONFIG("logPath").c_str()); auto ich = Ice::initialize(argc, argv); @@ -24,14 +25,14 @@ // adapter->activate(); // ich->waitForShutdown(); - if (argc < 3) { - ERR("argc error"); - return -1; - } +// if (argc < 3) { +// ERR("argc error"); +// return -1; +// } - int gpuindex = atoi(argv[1]); - int poolNum = atoi(argv[2]); - int portNum = atoi(argv[3]); + int gpuindex = 1; + int poolNum = 1; + int portNum = 10003; appPref.setIntData("gpu.index", gpuindex); appPref.setFloatData("thresh.detect", 0.7); -- Gitblit v1.8.0