Spaces:
Running
on
Zero
Running
on
Zero
chore: disable CUDNN warning
Browse files
src/live_portrait_pipeline.py
CHANGED
@@ -4,9 +4,8 @@
|
|
4 |
Pipeline of LivePortrait
|
5 |
"""
|
6 |
|
7 |
-
|
8 |
-
#
|
9 |
-
# 2. pick样例图 source + driving
|
10 |
|
11 |
import cv2
|
12 |
import numpy as np
|
|
|
4 |
Pipeline of LivePortrait
|
5 |
"""
|
6 |
|
7 |
+
import torch
|
8 |
+
torch.backends.cudnn.benchmark = True # disable CUDNN_BACKEND_EXECUTION_PLAN_DESCRIPTOR warning
|
|
|
9 |
|
10 |
import cv2
|
11 |
import numpy as np
|