841b2d06c3
# Conflicts: # core/globals.py # core/processor.py # run.py
9 lines
200 B
Python
9 lines
200 B
Python
import onnxruntime
|
|
|
|
use_gpu = False
|
|
providers = onnxruntime.get_available_providers()
|
|
all_faces = False
|
|
|
|
if 'TensorrtExecutionProvider' in providers:
|
|
providers.remove('TensorrtExecutionProvider')
|