MaxwellMeyer commited on
Commit
d66d54e
·
verified ·
1 Parent(s): 9305c9a

Update onnx_run.py

Browse files
Files changed (1) hide show
  1. onnx_run.py +1 -1
onnx_run.py CHANGED
@@ -6,7 +6,7 @@ import torch
6
  import torch.nn.functional as F
7
 
8
 
9
- session = onnxruntime.InferenceSession("./onnx/BEN2_Base.onnx", providers=['CUDAExecutionProvider', 'CPUExecutionProvider'])
10
 
11
  def postprocess_image(result_np: np.ndarray, im_size: list) -> np.ndarray:
12
 
 
6
  import torch.nn.functional as F
7
 
8
 
9
+ session = onnxruntime.InferenceSession("./BEN2_Base.onnx", providers=['CUDAExecutionProvider', 'CPUExecutionProvider'])
10
 
11
  def postprocess_image(result_np: np.ndarray, im_size: list) -> np.ndarray:
12