You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
跟着“AI初学者:使用预置算法构建模型”做,报“运行失败”,查看日志ImportError: libcuda.so.1: cannot open shared object file: No such file or directory
在stderr.log里看到
[ModelArts Service Log]modelarts-pipe: will create log file /tmp/log/trainjob-flowers.log
[ModelArts Service Log]modelarts-pipe: will create log file /tmp/log/trainjob-flowers.log
[ModelArts Service Log]modelarts-pipe: will write log file /tmp/log/trainjob-flowers.log
[ModelArts Service Log]modelarts-pipe: param for max log length: 1073741824
[ModelArts Service Log]modelarts-pipe: param for whether exit on overflow: 0
[ModelArts Service Log]modelarts-pipe: total length: 1809
在stdout.log看到
Traceback (most recent call last):
File "builtin_algorithms/train_wrapper.py", line 25, in
from moxing.tensorflow.builtin_algorithms.training_config import (
File "/home/code/moxing/build/moxing/tensorflow/init.py", line 22, in
File "/home/work/anaconda2/lib/python2.7/site-packages/tensorflow/init.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/home/work/anaconda2/lib/python2.7/site-packages/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/home/work/anaconda2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/home/work/anaconda2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/home/work/anaconda2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/home/work/anaconda2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
ImportError: libcuda.so.1: cannot open shared object file: No such file or directory
跟着“AI初学者:使用预置算法构建模型”做,报“运行失败”,查看日志ImportError: libcuda.so.1: cannot open shared object file: No such file or directory
在stderr.log里看到
[ModelArts Service Log]modelarts-pipe: will create log file /tmp/log/trainjob-flowers.log
[ModelArts Service Log]modelarts-pipe: will create log file /tmp/log/trainjob-flowers.log
[ModelArts Service Log]modelarts-pipe: will write log file /tmp/log/trainjob-flowers.log
[ModelArts Service Log]modelarts-pipe: param for max log length: 1073741824
[ModelArts Service Log]modelarts-pipe: param for whether exit on overflow: 0
[ModelArts Service Log]modelarts-pipe: total length: 1809
在stdout.log看到
Traceback (most recent call last):
File "builtin_algorithms/train_wrapper.py", line 25, in
from moxing.tensorflow.builtin_algorithms.training_config import (
File "/home/code/moxing/build/moxing/tensorflow/init.py", line 22, in
File "/home/work/anaconda2/lib/python2.7/site-packages/tensorflow/init.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/home/work/anaconda2/lib/python2.7/site-packages/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/home/work/anaconda2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/home/work/anaconda2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/home/work/anaconda2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/home/work/anaconda2/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
ImportError: libcuda.so.1: cannot open shared object file: No such file or directory
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
The text was updated successfully, but these errors were encountered: