Update README.md (#9)
Browse files- Update README.md (f4ea5c2ea7982c482c1da59fae4f80419b5d9c76)
Co-authored-by: haseeb <sharoz@users.noreply.huggingface.co>
README.md
CHANGED
@@ -46,7 +46,7 @@ Firstly, you should use [insightface](https://github.com/deepinsight/insightface
|
|
46 |
|
47 |
import cv2
|
48 |
from insightface.app import FaceAnalysis
|
49 |
-
|
50 |
|
51 |
app = FaceAnalysis(name="buffalo_l", providers=['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
52 |
app.prepare(ctx_id=0, det_size=(640, 640))
|
@@ -113,7 +113,7 @@ Firstly, you should use [insightface](https://github.com/deepinsight/insightface
|
|
113 |
import cv2
|
114 |
from insightface.app import FaceAnalysis
|
115 |
from insightface.utils import face_align
|
116 |
-
|
117 |
|
118 |
app = FaceAnalysis(name="buffalo_l", providers=['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
119 |
app.prepare(ctx_id=0, det_size=(640, 640))
|
|
|
46 |
|
47 |
import cv2
|
48 |
from insightface.app import FaceAnalysis
|
49 |
+
import torch
|
50 |
|
51 |
app = FaceAnalysis(name="buffalo_l", providers=['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
52 |
app.prepare(ctx_id=0, det_size=(640, 640))
|
|
|
113 |
import cv2
|
114 |
from insightface.app import FaceAnalysis
|
115 |
from insightface.utils import face_align
|
116 |
+
import torch
|
117 |
|
118 |
app = FaceAnalysis(name="buffalo_l", providers=['CUDAExecutionProvider', 'CPUExecutionProvider'])
|
119 |
app.prepare(ctx_id=0, det_size=(640, 640))
|