Skip to content

Commit

Permalink
add thread number setting
Browse files Browse the repository at this point in the history
  • Loading branch information
ErcBunny committed Mar 4, 2023
1 parent 0af4b99 commit a9b6928
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions playground/opt_flow_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ def main():
optFlowTester = OptFlowTester()
optFlowTester.input = fn
optFlowTester.setAlg(algIdx)
cv.setNumThreads(1)

if mode=="interact":
optFlowTester.run()
Expand Down

0 comments on commit a9b6928

Please sign in to comment.