mirror of
https://github.com/qurator-spk/eynollah.git
synced 2026-06-27 23:39:15 +02:00
ModelZoo ONNX: avoid verbose logging
This commit is contained in:
parent
0bfbbfdc80
commit
42a3751e63
1 changed files with 2 additions and 0 deletions
|
|
@ -307,6 +307,8 @@ class EynollahModelZoo:
|
|||
import onnxruntime as ort
|
||||
import numpy as np
|
||||
|
||||
ort.set_default_logger_severity(3)
|
||||
|
||||
providers = ort.get_available_providers()
|
||||
if device:
|
||||
if ':' in device:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue