Merge pull request #150 from hben35096/main
Reorder execution providers in model initialization
This commit is contained in:
@@ -73,7 +73,7 @@ class LS_HumanPartsUltra:
|
||||
"""
|
||||
import onnxruntime as ort
|
||||
|
||||
model = ort.InferenceSession(model_path, providers=['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'CPUExecutionProvider'])
|
||||
model = ort.InferenceSession(model_path, providers=['CUDAExecutionProvider', 'CPUExecutionProvider', 'TensorrtExecutionProvider'])
|
||||
ret_images = []
|
||||
ret_masks = []
|
||||
for img in image:
|
||||
|
||||
Reference in New Issue
Block a user