Incredible speed boost with TensorrtExecutionProvider #5.
This commit is contained in:
@@ -20,7 +20,7 @@ from insightface.app.common import Face
|
|||||||
from insightface.utils.storage import ensure_available
|
from insightface.utils.storage import ensure_available
|
||||||
|
|
||||||
class RefacerMode(Enum):
|
class RefacerMode(Enum):
|
||||||
CPU, CUDA, COREML, TENSORRT = range(1, 4)
|
CPU, CUDA, COREML, TENSORRT = range(1, 5)
|
||||||
|
|
||||||
class Refacer:
|
class Refacer:
|
||||||
def __init__(self,force_cpu=False):
|
def __init__(self,force_cpu=False):
|
||||||
|
|||||||
Reference in New Issue
Block a user