Tag: docker tensorflow

捆绑tensorflow桌面

我已经构build了一个基于tensorflow和opencv的python应用程序来识别对象的状态。 我想将应用程序与其所有的依赖关系捆绑到一个桌面应用程序。 除了使用docker捆绑所有的依赖关系之外,是否可以将应用程序及其依赖关系绑定到独立的Windows桌面应用程序? 我在github中提出了同样的问题,但他们redirect到了stackoverflow。

带有TensorFlow后端的Keras不使用GPU

我用keras 2.0.0版和tensorflow 0.12.1版构build了Docker镜像的gpu版本https://github.com/floydhub/dl-docker 。 然后我运行了mnist教程https://github.com/fchollet/keras/blob/master/examples/mnist_cnn.py,但意识到keras没有使用GPU。 以下是我的输出 root@b79b8a57fb1f:~/sharedfolder# python test.py Using TensorFlow backend. Downloading data from https://s3.amazonaws.com/img-datasets/mnist.npz x_train shape: (60000, 28, 28, 1) 60000 train samples 10000 test samples Train on 60000 samples, validate on 10000 samples Epoch 1/12 2017-09-06 16:26:54.866833: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available […]

docker工本地主机url不能打开

我安装docker和tensorflow图像我无法用jupyter笔记本在浏览器中打开。 我在想什么? 使用的命令: docker run -it -v / home / surya / tf_files:/ tf_files gcr.io /tensorflow/tensorflow 其中“gcr.io/tensorflow/tensorflow”是张量图像,“/ home / surya”是$ HOME。 在terminal 在浏览器中输出 PS:docker安装是正确的,因为“docker运行你好,世界”给出了所需的信息。