zhangyubo0722 1 год назад
Родитель
Сommit
f5532e95d7
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      paddlex/utils/file_interface.py

+ 1 - 1
paddlex/utils/file_interface.py

@@ -25,7 +25,7 @@ import chardet
 try:
     import ujson as json
 except:
-    logging.error("failed to import ujson, using json instead")
+    logging.warning("failed to import ujson, using json instead")
     import json
 
 from contextlib import contextmanager