瀏覽代碼

Remove unused imports

Bobholamovic 2 年之前
父節點
當前提交
7644abda13
共有 2 個文件被更改,包括 0 次插入8 次删除
  1. 0 4
      examples/rs_research/run_task.py
  2. 0 4
      test_tipc/run_task.py

+ 0 - 4
examples/rs_research/run_task.py

@@ -16,10 +16,6 @@
 
 import os
 
-# Import cv2 and sklearn before paddlers to solve the
-# "ImportError: dlopen: cannot load any more object with static TLS" issue.
-import cv2
-import sklearn
 import paddle
 import paddlers
 from paddlers import transforms as T

+ 0 - 4
test_tipc/run_task.py

@@ -2,10 +2,6 @@
 
 import os
 
-# Import cv2 and sklearn before paddlers to solve the
-# "ImportError: dlopen: cannot load any more object with static TLS" issue.
-import cv2
-import sklearn
 import paddle
 import paddlers
 from paddlers import transforms as T