Sfoglia il codice sorgente

Remove unused imports

Bobholamovic 2 anni fa
parent
commit
7644abda13
2 ha cambiato i file con 0 aggiunte e 8 eliminazioni
  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