我遇到了同样的问题,因此在谷歌搜索中执行了以下步骤:
$ sudo pip install --upgrade virtualenv$ virtualenv --system-site-packages ~/tensorflow$ cd ~/tensorflow$ source bin/activate$ pip install --upgrade https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.5.0-cp27-none-linux_x86_64.whl$ cd /tmp$ wget http://launchpadlibrarian.net/137699828/libc6_2.17-0ubuntu5_amd64.deb$ wget http://launchpadlibrarian.net/137699829/libc6-dev_2.17-0ubuntu5_amd64.deb$ mkdir libc6_2.17$ cd libc6_2.17$ ar p ../libc6_2.17-0ubuntu5_amd64.deb data.tar.gz | tar zx$ ar p ../libc6-dev_2.17-0ubuntu5_amd64.deb data.tar.gz | tar zx$ cd -$ LD_LIBRARY_PATH=/tmp/libc6_2.17/lib/x86_64-linux-gnu/ /tmp/libc6_2.17/lib/x86_64-linux-gnu/ld-2.17.so bin/python local/lib/python2.7/site-packages/tensorflow/models/image/mnist/convolutional.py
并退出:
$ deactivate
这对我行得通。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)