WU Jia commited on
Commit ·
a59ada5
1
Parent(s): 3a502ca
Change the default value of topK (#271)
Browse files* Change the default value of topK
* Change several more default values
32 unmodified lines3334353637383932 unmodified linesMat anchors;public:MPPersonDet(string modPath, float nmsThresh = 0.5, float scoreThresh = 0.3, int tok=1 , dnn::Backend bId = DNN_BACKEND_DEFAULT, dnn::Target tId = DNN_TARGET_CPU) :modelPath(modPath), nmsThreshold(nmsThresh),scoreThreshold(scoreThresh), topK(tok),backendId(bId), targetId(tId)32 unmodified lines3334353637383932 unmodified linesMat anchors;public:MPPersonDet(string modPath, float nmsThresh = 0.3, float scoreThresh = 0.5, int tok=5000 , dnn::Backend bId = DNN_BACKEND_DEFAULT, dnn::Target tId = DNN_TARGET_CPU) :modelPath(modPath), nmsThreshold(nmsThresh),scoreThreshold(scoreThresh), topK(tok),backendId(bId), targetId(tId)
demo.cpp+1-1