cleardusk commited on
Commit
731714c
1 Parent(s): dfa0990

chore: disable CUDNN warning

Browse files
Files changed (1) hide show
  1. src/live_portrait_pipeline.py +2 -3
src/live_portrait_pipeline.py CHANGED
@@ -4,9 +4,8 @@
4
  Pipeline of LivePortrait
5
  """
6
 
7
- # TODO:
8
- # 1. 当前假定所有的模板都是已经裁好的,需要修改下
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