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

Files changed (1) hide show
  1. demo.cpp +1 -1
demo.cpp CHANGED
@@ -33,7 +33,7 @@ private:
33
  Mat anchors;
34
 
35
  public:
36
- 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) :
37
  modelPath(modPath), nmsThreshold(nmsThresh),
38
  scoreThreshold(scoreThresh), topK(tok),
39
  backendId(bId), targetId(tId)
 
33
  Mat anchors;
34
 
35
  public:
36
+ 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) :
37
  modelPath(modPath), nmsThreshold(nmsThresh),
38
  scoreThreshold(scoreThresh), topK(tok),
39
  backendId(bId), targetId(tId)