Explorar o código

fix relative import (#2985)

zhuyipin hai 9 meses
pai
achega
2996d67f23
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      paddlex/ops/__init__.py

+ 1 - 1
paddlex/ops/__init__.py

@@ -20,7 +20,7 @@ from types import ModuleType
 
 import filelock
 from paddle.utils.cpp_extension import load as paddle_jit_load
-from paddlex.utils import logging
+from ..utils import logging
 
 
 def get_user_home() -> str: