jpterry commited on
Commit
979296b
·
1 Parent(s): 81ed768

num threads to 0

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -47,7 +47,7 @@ def load_model(model: str, activation: bool=True):
47
  print(model)
48
 
49
  ort_session = ort.InferenceSession(model_path + '%s.onnx' % (model))
50
- ort_session.intra_op_num_threads = 1
51
 
52
  return ort_session
53
 
 
47
  print(model)
48
 
49
  ort_session = ort.InferenceSession(model_path + '%s.onnx' % (model))
50
+ ort_session.intra_op_num_threads = 0
51
 
52
  return ort_session
53