LoginSignup
1
1

More than 5 years have passed since last update.

TensorFlow @ Ubuntu 14.04 LTS > インストール場所を表示 > pip show tensorflow

Last updated at Posted at 2016-10-22
動作環境
Ubuntu 14.04 LTS desktop amd64
GeForce GTX 750 Ti
ASRock Z170M Pro4S [Intel Z170chipset]
TensorFlow v0.11
cuDNN v5.1 for Linux
CUDA v7.5
Python 2.7.6

http://qiita.com/7of9/items/ccba0e0945b475cf1f3a
に記載方法でTensorFlowをインストール済。

Virtualenvで使用。

mnist.train.next_batch()の定義しているmnist.pyファイルを探そうとしている。
関連 http://qiita.com/7of9/items/7333b20829fddb23e467

TensorFlowのインストールディレクトリは以下のpipコマンドで見つけられる。
参考 http://stackoverflow.com/questions/33616732/where-is-the-folder-for-installing-tensorflow-with-pip-mac-osx

$ pip show tensorflow
---
Name: tensorflow
Version: 0.11.0rc0
Location: /home/yasokada/tensorflow-GPU/lib/python2.7/site-packages
Requires: protobuf, wheel, mock, numpy, six

上記の情報をもとにminst.pyをfindしてみた。

$ find . -name mnist.py
./tensorflow/examples/tutorials/mnist/mnist.py
./tensorflow/contrib/learn/python/learn/datasets/mnist.py
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1