Comments (4)
This may be caused by incorrect install of nvidia docker.
from attentionocr.
我进入docker,运行flaskapp.py,提示下面的错误
ImportError: /usr/lib/x86_64-linux-gnu/libcuda.so.1: file too short
然后我发现libcuda.so.430.14的大小是0;
lrwxrwxrwx 1 root root 12 Aug 28 02:42 /usr/lib/x86_64-linux-gnu/libcuda.so -> libcuda.so.1
lrwxrwxrwx 1 root root 17 Aug 28 06:13 /usr/lib/x86_64-linux-gnu/libcuda.so.1 -> libcuda.so.430.14
-rwxr-xr-x 1 root root 0 Aug 28 02:42 /usr/lib/x86_64-linux-gnu/libcuda.so.418.56
-rwxr-xr-x 1 root root 0 Aug 28 06:13 /usr/lib/x86_64-linux-gnu/libcuda.so.430.14
这是什么原因呢?
不知道能不能提供cpu版本docker供学习,多谢了
from attentionocr.
我遇到同样的问题,不过我有GPU 1080Ti,但是在docker下run 后也报错了,请指点下是什么问题?
python3 flaskapp.py
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/usr/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: /usr/lib/x86_64-linux-gnu/libcuda.so.1: file too short
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "flaskapp.py", line 17, in
import tensorflow as tf
File "/usr/local/lib/python3.5/dist-packages/tensorflow/init.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
File "/usr/lib/python3.5/imp.py", line 242, in load_module
return load_dynamic(name, filename, file)
File "/usr/lib/python3.5/imp.py", line 342, in load_dynamic
return _load(spec)
ImportError: /usr/lib/x86_64-linux-gnu/libcuda.so.1: file too short
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/errors
for some common reasons and solutions. Include the entire stack trace
above this error message when asking for help.
from attentionocr.
@quuhua911 你可以把代码从docker拷贝出来,再运行
from attentionocr.
Related Issues (20)
- 作者训练的权重向量从docker拷贝出来上传到百度云,欢迎自取 HOT 3
- model from docker image doesnot work!
- I have some questions about training and testing
- Problems on how to calculate the probs in text recongnition
- how could i do, the train process will set on GPUS? HOT 1
- detect长度及长文本识别
- bilstm
- @zhang0jhon tensorflow run in static graph, can you give any hints on debugging during coding?
- pytorch版本实现
- There is some way to be able to execute the code without using DOCKER but only by console. I will be very grateful for your prompt response.
- steps_per_epoch根据训练集的不同需要修改吗? HOT 5
- 运行“ python train.py”时出现错误
- Network does not predict EOS token HOT 1
- $ symbol
- What's is the license information of this project?
- Formulae miscalculation
- for inception v4 stem and reduction_A the paper use valid for padding in conv3x3,why use same for padding here?
- abcnet accuracy
- 为什么不把图像裁剪下来单独训练,而是将整个图像先加载在裁剪呢?这样batch_size不就需要变小了吗? HOT 1
- train.py error ModelDescBase?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from attentionocr.