fix TensorRTExcutionProvider errors
This commit is contained in:
parent
6258f3c084
commit
4183e71cf8
7
globals.py
Normal file
7
globals.py
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
import onnxruntime
|
||||||
|
|
||||||
|
use_gpu = False
|
||||||
|
providers = onnxruntime.get_available_providers()
|
||||||
|
|
||||||
|
if 'TensorrtExecutionProvider' in providers:
|
||||||
|
providers.remove('TensorrtExecutionProvider')
|
Loading…
Reference in New Issue
Block a user