Răsfoiți Sursa

Remove unused imports

Bobholamovic 2 ani în urmă
părinte
comite
7644abda13
2 a modificat fișierele cu 0 adăugiri și 8 ștergeri
  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