2023-05-30 02:03:43 +03:00
|
|
|
import onnxruntime
|
|
|
|
|
|
|
|
use_gpu = False
|
|
|
|
providers = onnxruntime.get_available_providers()
|
2023-05-31 18:28:13 +03:00
|
|
|
all_faces = False
|
2023-05-31 18:35:39 +03:00
|
|
|
|
|
|
|
if 'TensorrtExecutionProvider' in providers:
|
|
|
|
providers.remove('TensorrtExecutionProvider')
|