Merge pull request #151 from Moeblack/TensorRTExcutionProvider-error
fix TensorRTExcutionProvider errors
This commit is contained in:
commit
c2ce47dec5
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