mirror of
https://github.com/serengil/deepface.git
synced 2025-06-09 21:07:09 +00:00
Conditional use of GPU on FastMtCnn
This commit is contained in:
parent
2b7c0a708e
commit
345b6717e2
@ -2,6 +2,7 @@ from typing import Any, Union, List
|
|||||||
import cv2
|
import cv2
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from deepface.models.Detector import Detector, FacialAreaRegion
|
from deepface.models.Detector import Detector, FacialAreaRegion
|
||||||
|
import torch
|
||||||
|
|
||||||
# Link -> https://github.com/timesler/facenet-pytorch
|
# Link -> https://github.com/timesler/facenet-pytorch
|
||||||
# Examples https://www.kaggle.com/timesler/guide-to-mtcnn-in-facenet-pytorch
|
# Examples https://www.kaggle.com/timesler/guide-to-mtcnn-in-facenet-pytorch
|
||||||
|
Loading…
x
Reference in New Issue
Block a user