introvoyz041 commited on
Commit
67d1e86
·
verified ·
1 Parent(s): 05395ad

Migrated from GitHub

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. data/GUIDE.md +379 -0
  2. data/ISSUE_TEMPLATE.md +16 -0
  3. data/LICENSE +13 -0
  4. data/TENSORFLOW_LICENSE +203 -0
  5. data/benchmarks/inceptionv3/classify_image_timed.py +236 -0
  6. data/old_readme.md +130 -0
  7. data/testlogs/python27/2016_07_17/console_output.txt +192 -0
  8. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/argmax_op_test/test.cache_status +1 -0
  9. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/argmax_op_test/test.log +11 -0
  10. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/argmax_op_test/test.xml +6 -0
  11. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/array_ops_test/test.cache_status +0 -0
  12. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/array_ops_test/test.log +5 -0
  13. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/as_string_op_test/test.cache_status +1 -0
  14. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/as_string_op_test/test.log +31 -0
  15. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/as_string_op_test/test.xml +6 -0
  16. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/attention_ops_test/test.cache_status +1 -0
  17. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/attention_ops_test/test.log +7 -0
  18. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/attention_ops_test/test.xml +6 -0
  19. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/barrier_ops_test/test.cache_status +0 -0
  20. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/barrier_ops_test/test.log +0 -0
  21. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matmul_op_test/test.cache_status +0 -0
  22. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matmul_op_test/test.log +3 -0
  23. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_10_of_50.cache_status +1 -0
  24. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_10_of_50.log +7 -0
  25. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_10_of_50.xml +6 -0
  26. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_11_of_50.cache_status +1 -0
  27. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_11_of_50.log +7 -0
  28. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_11_of_50.xml +6 -0
  29. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_12_of_50.cache_status +1 -0
  30. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_12_of_50.log +7 -0
  31. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_12_of_50.xml +6 -0
  32. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_13_of_50.cache_status +1 -0
  33. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_13_of_50.log +7 -0
  34. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_13_of_50.xml +6 -0
  35. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_14_of_50.cache_status +1 -0
  36. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_14_of_50.log +7 -0
  37. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_14_of_50.xml +6 -0
  38. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_15_of_50.cache_status +1 -0
  39. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_15_of_50.log +7 -0
  40. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_15_of_50.xml +6 -0
  41. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_16_of_50.cache_status +1 -0
  42. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_16_of_50.log +7 -0
  43. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_16_of_50.xml +6 -0
  44. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_17_of_50.cache_status +1 -0
  45. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_17_of_50.log +7 -0
  46. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_17_of_50.xml +6 -0
  47. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_18_of_50.cache_status +1 -0
  48. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_18_of_50.log +7 -0
  49. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_18_of_50.xml +6 -0
  50. data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_19_of_50.cache_status +1 -0
data/GUIDE.md ADDED
@@ -0,0 +1,379 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Building TensorFlow for Raspberry Pi: a Step-By-Step Guide
2
+
3
+ _[Back to readme](README.md)_
4
+
5
+ ## What You Need
6
+
7
+ * Raspberry Pi 2 or 3 Model B
8
+ * An SD card running Raspbian with several GB of free space
9
+ * An 8 GB card with a fresh install of Raspbian **does not** have enough space. A 16 GB SD card minimum is recommended.
10
+ * These instructions may work on Linux distributions other than Raspbian
11
+ * Internet connection to the Raspberry Pi
12
+ * A USB memory drive that can be installed as swap memory (if it is a flash drive, make sure you don't care about the drive). Anything over 1 GB should be fine
13
+ * A fair amount of time
14
+
15
+ ## Overview
16
+
17
+ These instructions were crafted for a [Raspberry Pi 3 Model B](https://www.raspberrypi.org/products/raspberry-pi-3-model-b/) running a vanilla copy of Raspbian 8.0 (jessie). It appears to work on Raspberry Pi 2, but [there are some kinks that are being worked out](https://github.com/tensorflow/tensorflow/issues/445#issuecomment-196021885). If these instructions work for different distributions, let me know!
18
+ Updated (2017-09-11) to work with the latest (HEAD) version of tensorflow on Raspbian Strech (Vanilla version september 2017) and Python 3.5.
19
+
20
+ Here's the basic plan: build a RPi-friendly version of [Bazel](https://github.com/bazelbuild/bazel) and use it to build TensorFlow.
21
+
22
+ ### Contents
23
+
24
+ 1. [Install basic dependencies](#1-install-basic-dependencies)
25
+ 2. [Install USB Memory as Swap](#2-install-a-memory-drive-as-swap-for-compiling)
26
+ 3. [Build Bazel](#3-build-bazel)
27
+ 4. [Compiling TensorFlow](#4-compiling-tensorflow)
28
+ 5. [Cleaning Up](#5-cleaning-up)
29
+ 6. [References](#references)
30
+
31
+ ## The Build
32
+
33
+ ### 1. Install basic dependencies
34
+
35
+ First, update apt-get to make sure it knows where to download everything.
36
+
37
+ ```shell
38
+ sudo apt-get update
39
+ ```
40
+
41
+ Next, install some base dependencies and tools we'll need later.
42
+
43
+ For Bazel:
44
+
45
+ ```shell
46
+ sudo apt-get install pkg-config zip g++ zlib1g-dev unzip
47
+ ```
48
+
49
+ For TensorFlow:
50
+
51
+ ```
52
+ # For Python 2.7
53
+ sudo apt-get install python-pip python-numpy swig python-dev
54
+ sudo pip install wheel
55
+
56
+ # For Python 3.3+
57
+ sudo apt-get install python3-pip python3-numpy swig python3-dev
58
+ sudo pip3 install wheel
59
+ ```
60
+
61
+ To be able to take advantage of certain optimization flags:
62
+
63
+ ```
64
+ sudo apt-get install gcc-4.8 g++-4.8
65
+ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 100
66
+ sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 100
67
+ ```
68
+
69
+ Finally, for cleanliness, make a directory that will hold the Protobuf, Bazel, and TensorFlow repositories.
70
+
71
+ ```shell
72
+ mkdir tf
73
+ cd tf
74
+ ```
75
+
76
+ ### 2. Install a Memory Drive as Swap for Compiling
77
+
78
+ In order to succesfully build TensorFlow, your Raspberry Pi needs a little bit more memory to fall back on. Fortunately, this process is pretty straightforward. Grab a USB storage drive that has at least 1GB of memory. I used a flash drive I could live without that carried no important data. That said, we're only going to be using the drive as swap while we compile, so this process shouldn't do too much damage to a relatively new USB drive.
79
+
80
+ First, put insert your USB drive, and find the `/dev/XXX` path for the device.
81
+
82
+ ```shell
83
+ sudo blkid
84
+ ```
85
+
86
+ As an example, my drive's path was `/dev/sda1`
87
+
88
+ Once you've found your device, unmount it by using the `umount` command.
89
+
90
+ ```shell
91
+ sudo umount /dev/XXX
92
+ ```
93
+
94
+ Then format your device to be swap:
95
+
96
+ ```shell
97
+ sudo mkswap /dev/XXX
98
+ ```
99
+
100
+ If the previous command outputted an alphanumeric UUID, copy that now. Otherwise, find the UUID by running `blkid` again. Copy the UUID associated with `/dev/XXX`
101
+
102
+ ```shell
103
+ sudo blkid
104
+ ```
105
+
106
+ Now edit your `/etc/fstab` file to register your swap file. (I'm a Vim guy, but Nano is installed by default)
107
+
108
+ ```shell
109
+ sudo nano /etc/fstab
110
+ ```
111
+
112
+ On a separate line, enter the following information. Replace the X's with the UUID (without quotes)
113
+
114
+ ```bash
115
+ UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX none swap sw,pri=5 0 0
116
+ ```
117
+
118
+ Save `/etc/fstab`, exit your text editor, and run the following command:
119
+
120
+ ```shell
121
+ sudo swapon -a
122
+ ```
123
+
124
+ If you get an error claiming it can't find your UUID, go back and edit `/etc/fstab`. Replace the `UUID=XXX..` bit with the original `/dev/XXX` information.
125
+
126
+ ```shell
127
+ sudo nano /etc/fstab
128
+ ```
129
+
130
+ ```bash
131
+ # Replace the UUID with /dev/XXX
132
+ /dev/XXX none swap sw,pri=5 0 0
133
+ ```
134
+
135
+ Alright! You've got swap! Don't throw out the `/dev/XXX` information yet- you'll need it to remove the device safely later on.
136
+
137
+ ### 3. Build Bazel
138
+
139
+ To build [Bazel](https://github.com/bazelbuild/bazel), we're going to need to download a zip file containing a distribution archive. Let's do that now and extract it into a new directory called `bazel`:
140
+
141
+ ```shell
142
+ wget https://github.com/bazelbuild/bazel/releases/download/0.4.5/bazel-0.4.5-dist.zip
143
+ unzip -d bazel bazel-0.4.5-dist.zip
144
+ ```
145
+
146
+ Once it's done downloading and extracting, we can move into the directory to make a few changes:
147
+
148
+ ```shell
149
+ cd bazel
150
+ ```
151
+
152
+ Before building Bazel, we need to set the `javac` maximum heap size for this job, or else we'll get an OutOfMemoryError. To do this, we need to make a small addition to `bazel/scripts/bootstrap/compile.sh`. (Shout-out to @SangManLINUX for [pointing this out.](https://github.com/samjabrahams/tensorflow-on-raspberry-pi/issues/5#issuecomment-210965695).
153
+
154
+ ```shell
155
+ nano scripts/bootstrap/compile.sh
156
+ ```
157
+
158
+ Move down to line 117, where you'll see the following block of code:
159
+
160
+ ```shell
161
+ run "${JAVAC}" -classpath "${classpath}" -sourcepath "${sourcepath}" \
162
+ -d "${output}/classes" -source "$JAVA_VERSION" -target "$JAVA_VERSION" \
163
+ -encoding UTF-8 "@${paramfile}"
164
+ ```
165
+
166
+ At the end of this block, add in the `-J-Xmx500M` flag, which sets the maximum size of the Java heap to 500 MB:
167
+
168
+ ```
169
+ run "${JAVAC}" -classpath "${classpath}" -sourcepath "${sourcepath}" \
170
+ -d "${output}/classes" -source "$JAVA_VERSION" -target "$JAVA_VERSION" \
171
+ -encoding UTF-8 "@${paramfile}" -J-Xmx500M
172
+ ```
173
+
174
+ Finally, we have to add one thing to `tools/cpp/cc_configure.bzl` - open it up for editing:
175
+
176
+ ```shell
177
+ nano tools/cpp/cc_configure.bzl
178
+ ```
179
+
180
+ Place the line `return "arm"` around line 133 (at the beginning of the `_get_cpu_value` function):
181
+
182
+ ```shell
183
+ ...
184
+ """Compute the cpu_value based on the OS name."""
185
+ return "arm"
186
+ ...
187
+ ```
188
+
189
+ In newer Bazel versions, the `_get_cpu_value` function will be found in the file `tools/cpp/lib_cc_configure.bzl`, and the same modification is required.
190
+
191
+ Now we can build Bazel! _Note: this also takes some time._
192
+
193
+ ```shell
194
+ sudo ./compile.sh
195
+ ```
196
+
197
+ When the build finishes, you end up with a new binary, `output/bazel`. Copy that to your `/usr/local/bin` directory.
198
+
199
+ ```shell
200
+ sudo cp output/bazel /usr/local/bin/bazel
201
+ ```
202
+
203
+ To make sure it's working properly, run `bazel` on the command line and verify it prints help text. Note: this may take 15-30 seconds to run, so be patient!
204
+
205
+ ```shell
206
+ bazel
207
+
208
+ Usage: bazel <command> <options> ...
209
+
210
+ Available commands:
211
+ analyze-profile Analyzes build profile data.
212
+ build Builds the specified targets.
213
+ canonicalize-flags Canonicalizes a list of bazel options.
214
+ clean Removes output files and optionally stops the server.
215
+ dump Dumps the internal state of the bazel server process.
216
+ fetch Fetches external repositories that are prerequisites to the targets.
217
+ help Prints help for commands, or the index.
218
+ info Displays runtime info about the bazel server.
219
+ mobile-install Installs targets to mobile devices.
220
+ query Executes a dependency graph query.
221
+ run Runs the specified target.
222
+ shutdown Stops the bazel server.
223
+ test Builds and runs the specified test targets.
224
+ version Prints version information for bazel.
225
+
226
+ Getting more help:
227
+ bazel help <command>
228
+ Prints help and options for <command>.
229
+ bazel help startup_options
230
+ Options for the JVM hosting bazel.
231
+ bazel help target-syntax
232
+ Explains the syntax for specifying targets.
233
+ bazel help info-keys
234
+ Displays a list of keys used by the info command.
235
+ ```
236
+
237
+ Move out of the `bazel` directory, and we'll move onto the next step.
238
+
239
+ ```shell
240
+ cd ..
241
+ ```
242
+
243
+ ### 4. Compiling TensorFlow
244
+
245
+ First things first, clone the TensorFlow repository and move into the newly created directory.
246
+
247
+ ```shell
248
+ git clone --recurse-submodules https://github.com/tensorflow/tensorflow.git
249
+ cd tensorflow
250
+ ```
251
+
252
+ _Note: if you're looking to build to a specific version or commit of TensorFlow (as opposed to the HEAD at master), you should `git checkout` it now._
253
+
254
+ Once in the directory, we have to write a nifty one-liner that is incredibly important. The next line goes through all files and changes references of 64-bit program implementations (which we don't have access to) to 32-bit implementations. Neat!
255
+
256
+ ```shell
257
+ grep -Rl 'lib64' | xargs sed -i 's/lib64/lib/g'
258
+ ```
259
+ Updating tensorflow/core/platform/platform.h and WORKSPACE as listed in the previous version is no longer needed with the latest version of tensorflow.
260
+ * the IS_MOBILE_PLATFORM check now includes a specific check for the Raspberry
261
+ * numeric/1.2.6 is no longer listed WORKSPACE
262
+
263
+ Finally, we have to replace the eigen version dependency. The version included in the current tensorflow version may result in an error (near the end of the build):
264
+
265
+ ```shell
266
+ ERROR: /mnt/tensorflow/tensorflow/core/kernels/BUILD:2128:1: C++ compilation of rule '//tensorflow/core/kernels:svd_op' failed: gcc failed: error executing command
267
+ ...com.google.devtools.build.lib.shell.BadExitStatusException: Process exited with status 1.
268
+ ...
269
+ external/eigen_archive/Eigen/src/Jacobi/Jacobi.h:359:55: error: 'struct Eigen::internal::conj_helper<__vector(4) __builtin_neon_sf, Eigen::internal::Packet2cf, false, false>' has no member named 'pmul'
270
+ ```
271
+
272
+ to resolve this
273
+
274
+ ```shell
275
+ sudo nano tensorflow/workspace.bzl
276
+ ```
277
+
278
+ Replace the following
279
+
280
+ ```
281
+ native.new_http_archive(
282
+ name = "eigen_archive",
283
+ urls = [
284
+ "http://mirror.bazel.build/bitbucket.org/eigen/eigen/get/f3a22f35b044.tar.gz",
285
+ "https://bitbucket.org/eigen/eigen/get/f3a22f35b044.tar.gz",
286
+ ],
287
+ sha256 = "ca7beac153d4059c02c8fc59816c82d54ea47fe58365e8aded4082ded0b820c4",
288
+ strip_prefix = "eigen-eigen-f3a22f35b044",
289
+ build_file = str(Label("//third_party:eigen.BUILD")),
290
+ )
291
+ ```
292
+
293
+ with
294
+
295
+ ```
296
+ native.new_http_archive(
297
+ name = "eigen_archive",
298
+ urls = [
299
+ "http://mirror.bazel.build/bitbucket.org/eigen/eigen/get/d781c1de9834.tar.gz",
300
+ "https://bitbucket.org/eigen/eigen/get/d781c1de9834.tar.gz",
301
+ ],
302
+ sha256 = "a34b208da6ec18fa8da963369e166e4a368612c14d956dd2f9d7072904675d9b",
303
+ strip_prefix = "eigen-eigen-d781c1de9834",
304
+ build_file = str(Label("//third_party:eigen.BUILD")),
305
+ )
306
+ ```
307
+
308
+ Reference: https://stackoverflow.com/questions/44418657/how-to-build-eigen-with-arm-neon-compile-error-for-tensorflow
309
+
310
+ **These options have changed with exception of jemalloc use No for all**
311
+ Now let's configure the build:
312
+
313
+ ```shell
314
+ ./configure
315
+
316
+ Please specify the location of python. [Default is /usr/bin/python]: /usr/bin/python
317
+ Please specify optimization flags to use during compilation when bazel option "--config=opt" is specified [Default is -march=native]:
318
+ Do you wish to use jemalloc as the malloc implementation? [Y/n] Y
319
+ Do you wish to build TensorFlow with Google Cloud Platform support? [y/N] N
320
+ Do you wish to build TensorFlow with Hadoop File System support? [y/N] N
321
+ Do you wish to build TensorFlow with the XLA just-in-time compiler (experimental)? [y/N] N
322
+ Please input the desired Python library path to use. Default is [/usr/local/lib/python2.7/dist-packages]
323
+ Do you wish to build TensorFlow with OpenCL support? [y/N] N
324
+ Do you wish to build TensorFlow with CUDA support? [y/N] N
325
+ ```
326
+
327
+ _Note: if you want to build for Python 3, specify `/usr/bin/python3` for Python's location and `/usr/local/lib/python3.5/dist-packages` for the Python library path._
328
+
329
+ Bazel will now attempt to clean. This takes a really long time (and often ends up erroring out anyway), so you can send some keyboard interrupts (CTRL-C) to skip this and save some time.
330
+
331
+ Now we can use it to build TensorFlow! **Warning: This takes a really, really long time. Several hours.**
332
+
333
+ ```shell
334
+ bazel build -c opt --copt="-mfpu=neon-vfpv4" --copt="-funsafe-math-optimizations" --copt="-ftree-vectorize" --copt="-fomit-frame-pointer" --local_resources 1024,1.0,1.0 --verbose_failures tensorflow/tools/pip_package:build_pip_package
335
+ ```
336
+
337
+ _Note: I toyed around with telling Bazel to use all four cores in the Raspberry Pi, but that seemed to make compiling more prone to completely locking up. This process takes a long time regardless, so I'm sticking with the more reliable options here. If you want to be bold, try using `--local_resources 1024,2.0,1.0` or `--local_resources 1024,4.0,1.0`_
338
+
339
+ When you wake up the next morning and it's finished compiling, you're in the home stretch! Use the built binary file to create a Python wheel.
340
+
341
+ ```shell
342
+ bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg
343
+ ```
344
+
345
+ And then install it!
346
+
347
+ ```shell
348
+ sudo pip install /tmp/tensorflow_pkg/tensorflow-1.1.0-cp27-none-linux_armv7l.whl
349
+ ```
350
+
351
+ ### 5. Cleaning Up
352
+
353
+ There's one last bit of house-cleaning we need to do before we're done: remove the USB drive that we've been using as swap.
354
+
355
+ First, turn off your drive as swap:
356
+
357
+ ```shell
358
+ sudo swapoff /dev/XXX
359
+ ```
360
+
361
+ Finally, remove the line you wrote in `/etc/fstab` referencing the device
362
+
363
+ ```
364
+ sudo nano /etc/fstab
365
+ ```
366
+
367
+ Then reboot your Raspberry Pi.
368
+
369
+ **And you're done!** You deserve a break.
370
+
371
+ ## References
372
+
373
+ 1. [Building TensorFlow for Jetson TK1](http://cudamusing.blogspot.com/2015/11/building-tensorflow-for-jetson-tk1.html) (an update to this post is available [here](http://cudamusing.blogspot.com/2016/06/tensorflow-08-on-jetson-tk1.html))
374
+ 2. [Turning a USB Drive into swap](http://askubuntu.com/questions/173676/how-to-make-a-usb-stick-swap-disk)
375
+ 3. [Safely removing USB swap space](http://askubuntu.com/questions/616437/is-it-safe-to-delete-a-swap-partition-on-a-usb-install)
376
+
377
+ ---
378
+
379
+ _[Back to top](#building-tensorflow-for-raspberry-pi-a-step-by-step-guide)_
data/ISSUE_TEMPLATE.md ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ### Describe the Issue
2
+
3
+ ### Steps to Reproduce
4
+
5
+ ### Hardware/Software Info
6
+
7
+ Please provide the following information about your Raspberry Pi setup:
8
+
9
+ * Raspberry Pi model:
10
+ * Operating System used:
11
+ * Version of Python used:
12
+ * SD card memory size:
13
+ * Size of USB/other device used as swap (if building from source):
14
+ * TensorFlow git commit hash (if building from source):
15
+
16
+ ### Relevant Console Output/Logs
data/LICENSE ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2016 Sam Abrahams
2
+
3
+ Licensed under the Apache License, Version 2.0 (the "License");
4
+ you may not use this file except in compliance with the License.
5
+ You may obtain a copy of the License at
6
+
7
+ http://www.apache.org/licenses/LICENSE-2.0
8
+
9
+ Unless required by applicable law or agreed to in writing, software
10
+ distributed under the License is distributed on an "AS IS" BASIS,
11
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ See the License for the specific language governing permissions and
13
+ limitations under the License.
data/TENSORFLOW_LICENSE ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Copyright 2015 The TensorFlow Authors. All rights reserved.
2
+
3
+ Apache License
4
+ Version 2.0, January 2004
5
+ http://www.apache.org/licenses/
6
+
7
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
8
+
9
+ 1. Definitions.
10
+
11
+ "License" shall mean the terms and conditions for use, reproduction,
12
+ and distribution as defined by Sections 1 through 9 of this document.
13
+
14
+ "Licensor" shall mean the copyright owner or entity authorized by
15
+ the copyright owner that is granting the License.
16
+
17
+ "Legal Entity" shall mean the union of the acting entity and all
18
+ other entities that control, are controlled by, or are under common
19
+ control with that entity. For the purposes of this definition,
20
+ "control" means (i) the power, direct or indirect, to cause the
21
+ direction or management of such entity, whether by contract or
22
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
23
+ outstanding shares, or (iii) beneficial ownership of such entity.
24
+
25
+ "You" (or "Your") shall mean an individual or Legal Entity
26
+ exercising permissions granted by this License.
27
+
28
+ "Source" form shall mean the preferred form for making modifications,
29
+ including but not limited to software source code, documentation
30
+ source, and configuration files.
31
+
32
+ "Object" form shall mean any form resulting from mechanical
33
+ transformation or translation of a Source form, including but
34
+ not limited to compiled object code, generated documentation,
35
+ and conversions to other media types.
36
+
37
+ "Work" shall mean the work of authorship, whether in Source or
38
+ Object form, made available under the License, as indicated by a
39
+ copyright notice that is included in or attached to the work
40
+ (an example is provided in the Appendix below).
41
+
42
+ "Derivative Works" shall mean any work, whether in Source or Object
43
+ form, that is based on (or derived from) the Work and for which the
44
+ editorial revisions, annotations, elaborations, or other modifications
45
+ represent, as a whole, an original work of authorship. For the purposes
46
+ of this License, Derivative Works shall not include works that remain
47
+ separable from, or merely link (or bind by name) to the interfaces of,
48
+ the Work and Derivative Works thereof.
49
+
50
+ "Contribution" shall mean any work of authorship, including
51
+ the original version of the Work and any modifications or additions
52
+ to that Work or Derivative Works thereof, that is intentionally
53
+ submitted to Licensor for inclusion in the Work by the copyright owner
54
+ or by an individual or Legal Entity authorized to submit on behalf of
55
+ the copyright owner. For the purposes of this definition, "submitted"
56
+ means any form of electronic, verbal, or written communication sent
57
+ to the Licensor or its representatives, including but not limited to
58
+ communication on electronic mailing lists, source code control systems,
59
+ and issue tracking systems that are managed by, or on behalf of, the
60
+ Licensor for the purpose of discussing and improving the Work, but
61
+ excluding communication that is conspicuously marked or otherwise
62
+ designated in writing by the copyright owner as "Not a Contribution."
63
+
64
+ "Contributor" shall mean Licensor and any individual or Legal Entity
65
+ on behalf of whom a Contribution has been received by Licensor and
66
+ subsequently incorporated within the Work.
67
+
68
+ 2. Grant of Copyright License. Subject to the terms and conditions of
69
+ this License, each Contributor hereby grants to You a perpetual,
70
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
71
+ copyright license to reproduce, prepare Derivative Works of,
72
+ publicly display, publicly perform, sublicense, and distribute the
73
+ Work and such Derivative Works in Source or Object form.
74
+
75
+ 3. Grant of Patent License. Subject to the terms and conditions of
76
+ this License, each Contributor hereby grants to You a perpetual,
77
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
78
+ (except as stated in this section) patent license to make, have made,
79
+ use, offer to sell, sell, import, and otherwise transfer the Work,
80
+ where such license applies only to those patent claims licensable
81
+ by such Contributor that are necessarily infringed by their
82
+ Contribution(s) alone or by combination of their Contribution(s)
83
+ with the Work to which such Contribution(s) was submitted. If You
84
+ institute patent litigation against any entity (including a
85
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
86
+ or a Contribution incorporated within the Work constitutes direct
87
+ or contributory patent infringement, then any patent licenses
88
+ granted to You under this License for that Work shall terminate
89
+ as of the date such litigation is filed.
90
+
91
+ 4. Redistribution. You may reproduce and distribute copies of the
92
+ Work or Derivative Works thereof in any medium, with or without
93
+ modifications, and in Source or Object form, provided that You
94
+ meet the following conditions:
95
+
96
+ (a) You must give any other recipients of the Work or
97
+ Derivative Works a copy of this License; and
98
+
99
+ (b) You must cause any modified files to carry prominent notices
100
+ stating that You changed the files; and
101
+
102
+ (c) You must retain, in the Source form of any Derivative Works
103
+ that You distribute, all copyright, patent, trademark, and
104
+ attribution notices from the Source form of the Work,
105
+ excluding those notices that do not pertain to any part of
106
+ the Derivative Works; and
107
+
108
+ (d) If the Work includes a "NOTICE" text file as part of its
109
+ distribution, then any Derivative Works that You distribute must
110
+ include a readable copy of the attribution notices contained
111
+ within such NOTICE file, excluding those notices that do not
112
+ pertain to any part of the Derivative Works, in at least one
113
+ of the following places: within a NOTICE text file distributed
114
+ as part of the Derivative Works; within the Source form or
115
+ documentation, if provided along with the Derivative Works; or,
116
+ within a display generated by the Derivative Works, if and
117
+ wherever such third-party notices normally appear. The contents
118
+ of the NOTICE file are for informational purposes only and
119
+ do not modify the License. You may add Your own attribution
120
+ notices within Derivative Works that You distribute, alongside
121
+ or as an addendum to the NOTICE text from the Work, provided
122
+ that such additional attribution notices cannot be construed
123
+ as modifying the License.
124
+
125
+ You may add Your own copyright statement to Your modifications and
126
+ may provide additional or different license terms and conditions
127
+ for use, reproduction, or distribution of Your modifications, or
128
+ for any such Derivative Works as a whole, provided Your use,
129
+ reproduction, and distribution of the Work otherwise complies with
130
+ the conditions stated in this License.
131
+
132
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
133
+ any Contribution intentionally submitted for inclusion in the Work
134
+ by You to the Licensor shall be under the terms and conditions of
135
+ this License, without any additional terms or conditions.
136
+ Notwithstanding the above, nothing herein shall supersede or modify
137
+ the terms of any separate license agreement you may have executed
138
+ with Licensor regarding such Contributions.
139
+
140
+ 6. Trademarks. This License does not grant permission to use the trade
141
+ names, trademarks, service marks, or product names of the Licensor,
142
+ except as required for reasonable and customary use in describing the
143
+ origin of the Work and reproducing the content of the NOTICE file.
144
+
145
+ 7. Disclaimer of Warranty. Unless required by applicable law or
146
+ agreed to in writing, Licensor provides the Work (and each
147
+ Contributor provides its Contributions) on an "AS IS" BASIS,
148
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
149
+ implied, including, without limitation, any warranties or conditions
150
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
151
+ PARTICULAR PURPOSE. You are solely responsible for determining the
152
+ appropriateness of using or redistributing the Work and assume any
153
+ risks associated with Your exercise of permissions under this License.
154
+
155
+ 8. Limitation of Liability. In no event and under no legal theory,
156
+ whether in tort (including negligence), contract, or otherwise,
157
+ unless required by applicable law (such as deliberate and grossly
158
+ negligent acts) or agreed to in writing, shall any Contributor be
159
+ liable to You for damages, including any direct, indirect, special,
160
+ incidental, or consequential damages of any character arising as a
161
+ result of this License or out of the use or inability to use the
162
+ Work (including but not limited to damages for loss of goodwill,
163
+ work stoppage, computer failure or malfunction, or any and all
164
+ other commercial damages or losses), even if such Contributor
165
+ has been advised of the possibility of such damages.
166
+
167
+ 9. Accepting Warranty or Additional Liability. While redistributing
168
+ the Work or Derivative Works thereof, You may choose to offer,
169
+ and charge a fee for, acceptance of support, warranty, indemnity,
170
+ or other liability obligations and/or rights consistent with this
171
+ License. However, in accepting such obligations, You may act only
172
+ on Your own behalf and on Your sole responsibility, not on behalf
173
+ of any other Contributor, and only if You agree to indemnify,
174
+ defend, and hold each Contributor harmless for any liability
175
+ incurred by, or claims asserted against, such Contributor by reason
176
+ of your accepting any such warranty or additional liability.
177
+
178
+ END OF TERMS AND CONDITIONS
179
+
180
+ APPENDIX: How to apply the Apache License to your work.
181
+
182
+ To apply the Apache License to your work, attach the following
183
+ boilerplate notice, with the fields enclosed by brackets "[]"
184
+ replaced with your own identifying information. (Don't include
185
+ the brackets!) The text should be enclosed in the appropriate
186
+ comment syntax for the file format. We also recommend that a
187
+ file or class name and description of purpose be included on the
188
+ same "printed page" as the copyright notice for easier
189
+ identification within third-party archives.
190
+
191
+ Copyright 2015, The TensorFlow Authors.
192
+
193
+ Licensed under the Apache License, Version 2.0 (the "License");
194
+ you may not use this file except in compliance with the License.
195
+ You may obtain a copy of the License at
196
+
197
+ http://www.apache.org/licenses/LICENSE-2.0
198
+
199
+ Unless required by applicable law or agreed to in writing, software
200
+ distributed under the License is distributed on an "AS IS" BASIS,
201
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
202
+ See the License for the specific language governing permissions and
203
+ limitations under the License.
data/benchmarks/inceptionv3/classify_image_timed.py ADDED
@@ -0,0 +1,236 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright 2015 Google Inc. All Rights Reserved.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ # ==============================================================================
15
+
16
+ """Simple image classification with Inception.
17
+
18
+ Run image classification with Inception trained on ImageNet 2012 Challenge data
19
+ set.
20
+
21
+ This program creates a graph from a saved GraphDef protocol buffer,
22
+ and runs inference on an input JPEG image. It outputs human readable
23
+ strings of the top 5 predictions along with their probabilities.
24
+
25
+ Change the --image_file argument to any jpg image to compute a
26
+ classification of that image.
27
+
28
+ Please see the tutorial and website for a detailed description of how
29
+ to use this script to perform image recognition.
30
+
31
+ https://tensorflow.org/tutorials/image_recognition/
32
+
33
+ This file has been modified by Sam Abrahams to print out basic run-time
34
+ information. These modifications have been surrounded with the comments:
35
+ "MODIFICATION BY SAM ABRAHAMS" and "END OF MODIFICATION"
36
+ """
37
+
38
+ from __future__ import absolute_import
39
+ from __future__ import division
40
+ from __future__ import print_function
41
+
42
+ import os.path
43
+ import re
44
+ import sys
45
+ import tarfile
46
+
47
+ # MODIFICATION BY SAM ABRAHAMS
48
+ import time
49
+ # END OF MODIFICATION
50
+
51
+ import numpy as np
52
+ from six.moves import urllib
53
+ import tensorflow as tf
54
+
55
+ FLAGS = tf.app.flags.FLAGS
56
+
57
+ # classify_image_graph_def.pb:
58
+ # Binary representation of the GraphDef protocol buffer.
59
+ # imagenet_synset_to_human_label_map.txt:
60
+ # Map from synset ID to a human readable string.
61
+ # imagenet_2012_challenge_label_map_proto.pbtxt:
62
+ # Text representation of a protocol buffer mapping a label to synset ID.
63
+ tf.app.flags.DEFINE_string(
64
+ 'model_dir', '/tmp/imagenet',
65
+ """Path to classify_image_graph_def.pb, """
66
+ """imagenet_synset_to_human_label_map.txt, and """
67
+ """imagenet_2012_challenge_label_map_proto.pbtxt.""")
68
+ tf.app.flags.DEFINE_string('image_file', '',
69
+ """Absolute path to image file.""")
70
+ tf.app.flags.DEFINE_integer('num_top_predictions', 5,
71
+ """Display this many predictions.""")
72
+ # MODIFICATION BY SAM ABRAHAMS
73
+ tf.app.flags.DEFINE_integer('warmup_runs', 10,
74
+ "Number of times to run Session before starting test")
75
+ tf.app.flags.DEFINE_integer('num_runs', 25,
76
+ "Number of sample runs to collect benchmark statistics")
77
+ # END OF MODIFICATION
78
+
79
+ # pylint: disable=line-too-long
80
+ DATA_URL = 'http://download.tensorflow.org/models/image/imagenet/inception-2015-12-05.tgz'
81
+ # pylint: enable=line-too-long
82
+
83
+
84
+ class NodeLookup(object):
85
+ """Converts integer node ID's to human readable labels."""
86
+
87
+ def __init__(self,
88
+ label_lookup_path=None,
89
+ uid_lookup_path=None):
90
+ if not label_lookup_path:
91
+ label_lookup_path = os.path.join(
92
+ FLAGS.model_dir, 'imagenet_2012_challenge_label_map_proto.pbtxt')
93
+ if not uid_lookup_path:
94
+ uid_lookup_path = os.path.join(
95
+ FLAGS.model_dir, 'imagenet_synset_to_human_label_map.txt')
96
+ self.node_lookup = self.load(label_lookup_path, uid_lookup_path)
97
+
98
+ def load(self, label_lookup_path, uid_lookup_path):
99
+ """Loads a human readable English name for each softmax node.
100
+
101
+ Args:
102
+ label_lookup_path: string UID to integer node ID.
103
+ uid_lookup_path: string UID to human-readable string.
104
+
105
+ Returns:
106
+ dict from integer node ID to human-readable string.
107
+ """
108
+ if not tf.gfile.Exists(uid_lookup_path):
109
+ tf.logging.fatal('File does not exist %s', uid_lookup_path)
110
+ if not tf.gfile.Exists(label_lookup_path):
111
+ tf.logging.fatal('File does not exist %s', label_lookup_path)
112
+
113
+ # Loads mapping from string UID to human-readable string
114
+ proto_as_ascii_lines = tf.gfile.GFile(uid_lookup_path).readlines()
115
+ uid_to_human = {}
116
+ p = re.compile(r'[n\d]*[ \S,]*')
117
+ for line in proto_as_ascii_lines:
118
+ parsed_items = p.findall(line)
119
+ uid = parsed_items[0]
120
+ human_string = parsed_items[2]
121
+ uid_to_human[uid] = human_string
122
+
123
+ # Loads mapping from string UID to integer node ID.
124
+ node_id_to_uid = {}
125
+ proto_as_ascii = tf.gfile.GFile(label_lookup_path).readlines()
126
+ for line in proto_as_ascii:
127
+ if line.startswith(' target_class:'):
128
+ target_class = int(line.split(': ')[1])
129
+ if line.startswith(' target_class_string:'):
130
+ target_class_string = line.split(': ')[1]
131
+ node_id_to_uid[target_class] = target_class_string[1:-2]
132
+
133
+ # Loads the final mapping of integer node ID to human-readable string
134
+ node_id_to_name = {}
135
+ for key, val in node_id_to_uid.items():
136
+ if val not in uid_to_human:
137
+ tf.logging.fatal('Failed to locate: %s', val)
138
+ name = uid_to_human[val]
139
+ node_id_to_name[key] = name
140
+
141
+ return node_id_to_name
142
+
143
+ def id_to_string(self, node_id):
144
+ if node_id not in self.node_lookup:
145
+ return ''
146
+ return self.node_lookup[node_id]
147
+
148
+
149
+ def create_graph():
150
+ """Creates a graph from saved GraphDef file and returns a saver."""
151
+ # Creates graph from saved graph_def.pb.
152
+ with tf.gfile.FastGFile(os.path.join(
153
+ FLAGS.model_dir, 'classify_image_graph_def.pb'), 'rb') as f:
154
+ graph_def = tf.GraphDef()
155
+ graph_def.ParseFromString(f.read())
156
+ _ = tf.import_graph_def(graph_def, name='')
157
+
158
+
159
+ def run_inference_on_image(image):
160
+ """Runs inference on an image.
161
+
162
+ Args:
163
+ image: Image file name.
164
+
165
+ Returns:
166
+ Nothing
167
+ """
168
+ if not tf.gfile.Exists(image):
169
+ tf.logging.fatal('File does not exist %s', image)
170
+ image_data = tf.gfile.FastGFile(image, 'rb').read()
171
+
172
+ # Creates graph from saved GraphDef.
173
+ start_time = time.time()
174
+ create_graph()
175
+ graph_time = time.time() - start_time
176
+
177
+ with tf.Session() as sess:
178
+ # Some useful tensors:
179
+ # 'softmax:0': A tensor containing the normalized prediction across
180
+ # 1000 labels.
181
+ # 'pool_3:0': A tensor containing the next-to-last layer containing 2048
182
+ # float description of the image.
183
+ # 'DecodeJpeg/contents:0': A tensor containing a string providing JPEG
184
+ # encoding of the image.
185
+ # Runs the softmax tensor by feeding the image_data as input to the graph.
186
+ softmax_tensor = sess.graph.get_tensor_by_name('softmax:0')
187
+ # MODIFICATION BY SAM ABRAHAMS
188
+ for i in range(FLAGS.warmup_runs):
189
+ predictions = sess.run(softmax_tensor,
190
+ {'DecodeJpeg/contents:0': image_data})
191
+ runs = []
192
+ for i in range(FLAGS.num_runs):
193
+ start_time = time.time()
194
+ predictions = sess.run(softmax_tensor,
195
+ {'DecodeJpeg/contents:0': image_data})
196
+ runs.append(time.time() - start_time)
197
+ for i, run in enumerate(runs):
198
+ print('Run %03d:\t%0.4f seconds' % (i, run))
199
+ print('---')
200
+ print('Best run: %0.4f' % min(runs))
201
+ print('Worst run: %0.4f' % max(runs))
202
+ print('Average run: %0.4f' % float(sum(runs) / len(runs)))
203
+ print('Build graph time: %0.4f' % graph_time)
204
+ print('Number of warmup runs: %d' % FLAGS.warmup_runs)
205
+ print('Number of test runs: %d' % FLAGS.num_runs)
206
+ # END OF MODIFICATION
207
+
208
+ def maybe_download_and_extract():
209
+ """Download and extract model tar file."""
210
+ dest_directory = FLAGS.model_dir
211
+ if not os.path.exists(dest_directory):
212
+ os.makedirs(dest_directory)
213
+ filename = DATA_URL.split('/')[-1]
214
+ filepath = os.path.join(dest_directory, filename)
215
+ if not os.path.exists(filepath):
216
+ def _progress(count, block_size, total_size):
217
+ sys.stdout.write('\r>> Downloading %s %.1f%%' % (
218
+ filename, float(count * block_size) / float(total_size) * 100.0))
219
+ sys.stdout.flush()
220
+ filepath, _ = urllib.request.urlretrieve(DATA_URL, filepath,
221
+ reporthook=_progress)
222
+ print()
223
+ statinfo = os.stat(filepath)
224
+ print('Succesfully downloaded', filename, statinfo.st_size, 'bytes.')
225
+ tarfile.open(filepath, 'r:gz').extractall(dest_directory)
226
+
227
+
228
+ def main(_):
229
+ maybe_download_and_extract()
230
+ image = (FLAGS.image_file if FLAGS.image_file else
231
+ os.path.join(FLAGS.model_dir, 'cropped_panda.jpg'))
232
+ run_inference_on_image(image)
233
+
234
+
235
+ if __name__ == '__main__':
236
+ tf.app.run()
data/old_readme.md ADDED
@@ -0,0 +1,130 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Old README, for posterity.
2
+
3
+ ## Intro
4
+
5
+ If you're looking to run [fully featured TensorFlow](https://github.com/tensorflow/tensorflow) or [Bazel](https://github.com/bazelbuild/bazel) on a Raspberry Pi 3, you're in the right place. This repo contains step-by-step instructions for installing TensorFlow from source using Bazel (which is also compiled from-scratch), as well as pre-built TensorFlow binaries.
6
+
7
+ _As a quick note, if you're looking for officially supported TensorFlow/Raspberry Pi functionality, you can also check out using the [Makefile contrib module](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/contrib/makefile). It builds a static C++ library instead of the standard Python library, but is very powerful._
8
+
9
+ ### Contents
10
+
11
+ * [Installing from pip (easy)](#installing-from-pip)
12
+ * [Building from source (hard)](#building-from-source)
13
+ * [Docker image](#docker-image)
14
+ * [Credits](#credits)
15
+ * [License](#license)
16
+
17
+ ## Installing from Pip
18
+
19
+ **Note: These are unofficial binaries (though built from the minimally modified official source), and thus there is no expectation of support from the TensorFlow team. Please don't create issues for these files in the official TensorFlow repository.**
20
+
21
+ This is the easiest way to get TensorFlow onto your Raspberry Pi 3. Note that currently, the pre-built binary is targeted for Raspberry Pi 3 running Raspbian 8.0 ("Jessie"), so this may or may not work for you. The specific OS release is the following:
22
+
23
+ ```
24
+ Raspbian 8.0 "Jessie"
25
+ Release: March 2, 2017
26
+ Installed via NOOBS 2.3
27
+ ```
28
+
29
+ First, install the dependencies for TensorFlow:
30
+
31
+ ```shell
32
+ sudo apt-get update
33
+
34
+ # For Python 2.7
35
+ sudo apt-get install python-pip python-dev
36
+
37
+ # For Python 3.3+
38
+ sudo apt-get install python3-pip python3-dev
39
+ ```
40
+
41
+ Next, download the wheel file from this repository and install it:
42
+
43
+ ```shell
44
+ # For Python 2.7
45
+ wget https://github.com/samjabrahams/tensorflow-on-raspberry-pi/releases/download/v1.1.0/tensorflow-1.1.0-cp27-none-linux_armv7l.whl
46
+ sudo pip install tensorflow-1.1.0-cp27-none-linux_armv7l.whl
47
+
48
+ # For Python 3.4
49
+ wget https://github.com/samjabrahams/tensorflow-on-raspberry-pi/releases/download/v1.1.0/tensorflow-1.1.0-cp34-cp34m-linux_armv7l.whl
50
+ sudo pip3 install tensorflow-1.1.0-cp34-cp34m-linux_armv7l.whl
51
+ ```
52
+
53
+ Finally, we need to reinstall the `mock` library to keep it from throwing an error when we import TensorFlow:
54
+
55
+ ```shell
56
+ # For Python 2.7
57
+ sudo pip uninstall mock
58
+ sudo pip install mock
59
+
60
+ # For Python 3.3+
61
+ sudo pip3 uninstall mock
62
+ sudo pip3 install mock
63
+ ```
64
+
65
+ And that should be it!
66
+
67
+ ### Docker image
68
+
69
+ Instructions on setting up a Docker image to run on Raspberry Pi are being maintained by @romilly [here](https://github.com/romilly/rpi-docker-tensorflow), and a pre-built image is hosted on DockerHub [here](https://hub.docker.com/r/romilly/rpi-docker-tensorflow/). Woot!
70
+
71
+ ### Troubleshooting
72
+
73
+ _This section will attempt to maintain a list of remedies for problems that may occur while installing from `pip`_
74
+
75
+ #### "tensorflow-1.1.0-cp27-none-linux_armv7l.whl is not a supported wheel on this platform."
76
+
77
+ This wheel was built with Python 2.7, and can't be installed with a version of `pip` that uses Python 3. If you get the above message, try running the following command instead:
78
+
79
+ ```
80
+ sudo pip2 install tensorflow-1.1.0-cp27-none-linux_armv7l.whl
81
+ ```
82
+
83
+ Vice-versa for trying to install the Python 3 wheel. If you get the error "tensorflow-1.1.0-cp34-cp34m-any.whl is not a supported wheel on this platform.", try this command:
84
+
85
+ ```
86
+ sudo pip3 install tensorflow-1.1.0-cp34-cp34m-linux_armv7l.whl
87
+ ```
88
+
89
+ **Note: the provided binaries are for Python 2.7 and 3.4 _only_. If you've installed Python 3.5/3.6 from source on your machine, you'll need to either explicitly install these wheels for 3.4, or you'll need to build TensorFlow [from source](GUIDE.md). Once there's an officially supported installation of Python 3.5+, this repo will start including wheels for those versions.**
90
+
91
+ ## Building from Source
92
+
93
+ [_Step-by-step guide_](GUIDE.md)
94
+
95
+ If you aren't able to make the wheel file from the previous section work, you may need to build from source. Additionally, if you want to use features that have not been included in an official release, such as the [initial distributed runtime](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/core/distributed_runtime), you'll have to build from source. Don't worry, as we've figured out most of the quirks of getting it right. The guide will be updated as needed to be as correct as possible.
96
+
97
+ See the [step-by-step guide here](GUIDE.md). **Warning: it takes a while.**
98
+
99
+ ## Non-Raspberry Pi Model 3 builds
100
+
101
+ There are numerous single-board computers available on the market, but binaries and build instructions aren't necessarily compatible with what's available in this repository. This is a list of resources to help those with non-RPi3 (or RPi 2) computers get up and running:
102
+
103
+ * ODROID
104
+ * [Issue thread for ODROID](https://github.com/samjabrahams/tensorflow-on-raspberry-pi/issues/41)
105
+ * [NeoTitans guide to building on ODROID C2](https://www.neotitans.net/install-tensorflow-on-odroid-c2.html)
106
+
107
+ ## Credits
108
+
109
+ While the final pieces of grunt work were done primarily by myself and @petewarden, this effort has been going on for almost as long as TensorFlow has been open-source, and involves work that spans multiple months in separate codebases. This is an incomprehensive list of people and their work I ran across while working on this.
110
+
111
+ The majority of the source-building guide is a modified version of [these instructions for compiling TensorFlow on a Jetson TK1](http://cudamusing.blogspot.com/2015/11/building-tensorflow-for-jetson-tk1.html). Massimiliano, you are the real MVP. _Note: the TK1 guide was [updated on June 17, 2016](http://cudamusing.blogspot.com/2016/06/tensorflow-08-on-jetson-tk1.html)_
112
+
113
+ @vmayoral put a huge amount of time and effort trying to put together the pieces to build TensorFlow, and was the first to get something close to a working binary.
114
+
115
+ A bunch of awesome Googlers working in both the TensorFlow and Bazel repositories helped make this possible. In no particular order: @vrv, @damienmg, @petewarden, @danbri, @ulfjack, @girving, and @nlothian
116
+
117
+ _Issue threads of interest:_
118
+
119
+ * [Initial issue for building Bazel on ARMv7l](https://github.com/bazelbuild/bazel/issues/606)
120
+ * [First thread about running TensorFlow on RPi](https://github.com/tensorflow/tensorflow/issues/254)
121
+ * [Parallel thread on building TensorFlow on ARMv7l](https://github.com/tensorflow/tensorflow/issues/445)
122
+ * This is where the most recent conversation is located
123
+
124
+ ## License
125
+
126
+ Subdirectories contained within the `third_party` directory each contain relevant licenses for the code and software within those subdirectories.
127
+
128
+ The file TENSORFLOW_LICENSE applies to the binaries distributed in the [releases.](https://github.com/samjabrahams/tensorflow-on-raspberry-pi/releases)
129
+
130
+ The file LICENSE applies to other files in this repository. I want to stress that a majority of the lines of code found in the guide of this repository was created by others. If any of those original authors want more prominent attribution, please contact me and we can figure out how to make it acceptable.
data/testlogs/python27/2016_07_17/console_output.txt ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ INFO: Elapsed time: 2787.383s, Critical Path: 1811.71s
2
+ //tensorflow/python/kernel_tests:argmax_op_test PASSED in 50.8s
3
+ //tensorflow/python/kernel_tests:as_string_op_test PASSED in 12.3s
4
+ //tensorflow/python/kernel_tests:attention_ops_test PASSED in 18.5s
5
+ //tensorflow/python/kernel_tests:batch_matrix_band_part_op_test PASSED in 64.6s
6
+ Stats over 50 runs: max = 64.6s, min = 7.2s, avg = 18.1s, dev = 14.5s
7
+ //tensorflow/python/kernel_tests:bcast_ops_test PASSED in 15.1s
8
+ //tensorflow/python/kernel_tests:benchmark_test PASSED in 17.5s
9
+ //tensorflow/python/kernel_tests:bias_op_test PASSED in 19.8s
10
+ //tensorflow/python/kernel_tests:bitcast_op_test PASSED in 12.3s
11
+ //tensorflow/python/kernel_tests:candidate_sampler_ops_test PASSED in 10.9s
12
+ //tensorflow/python/kernel_tests:check_ops_test PASSED in 19.8s
13
+ //tensorflow/python/kernel_tests:cholesky_op_test PASSED in 30.7s
14
+ //tensorflow/python/kernel_tests:clip_ops_test PASSED in 14.8s
15
+ //tensorflow/python/kernel_tests:conv_ops_3d_test PASSED in 39.7s
16
+ Stats over 50 runs: max = 39.7s, min = 6.7s, avg = 10.3s, dev = 6.6s
17
+ //tensorflow/python/kernel_tests:conv_ops_test PASSED in 95.0s
18
+ //tensorflow/python/kernel_tests:cross_grad_test PASSED in 11.1s
19
+ //tensorflow/python/kernel_tests:ctc_decoder_ops_test PASSED in 12.5s
20
+ //tensorflow/python/kernel_tests:decode_csv_op_test PASSED in 11.4s
21
+ //tensorflow/python/kernel_tests:decode_png_op_test PASSED in 12.2s
22
+ //tensorflow/python/kernel_tests:decode_raw_op_test PASSED in 17.7s
23
+ //tensorflow/python/kernel_tests:denormal_test PASSED in 12.0s
24
+ //tensorflow/python/kernel_tests:dense_update_ops_no_tsan_test PASSED in 12.0s
25
+ //tensorflow/python/kernel_tests:dense_update_ops_test PASSED in 15.1s
26
+ //tensorflow/python/kernel_tests:depthtospace_op_test PASSED in 19.1s
27
+ //tensorflow/python/kernel_tests:division_future_test PASSED in 58.1s
28
+ //tensorflow/python/kernel_tests:division_past_test PASSED in 47.7s
29
+ //tensorflow/python/kernel_tests:dynamic_partition_op_test PASSED in 13.2s
30
+ //tensorflow/python/kernel_tests:dynamic_stitch_op_test PASSED in 22.7s
31
+ //tensorflow/python/kernel_tests:edit_distance_op_test PASSED in 11.4s
32
+ //tensorflow/python/kernel_tests:extract_image_patches_op_test PASSED in 24.3s
33
+ //tensorflow/python/kernel_tests:fft_ops_test PASSED in 13.1s
34
+ //tensorflow/python/kernel_tests:fifo_queue_test PASSED in 37.4s
35
+ //tensorflow/python/kernel_tests:gather_nd_op_test PASSED in 16.8s
36
+ //tensorflow/python/kernel_tests:gather_op_test PASSED in 15.0s
37
+ //tensorflow/python/kernel_tests:gradient_correctness_test PASSED in 22.5s
38
+ //tensorflow/python/kernel_tests:identity_op_py_test PASSED in 11.3s
39
+ //tensorflow/python/kernel_tests:init_ops_test PASSED in 21.9s
40
+ //tensorflow/python/kernel_tests:io_ops_test PASSED in 14.0s
41
+ //tensorflow/python/kernel_tests:linalg_grad_test PASSED in 21.0s
42
+ Stats over 50 runs: max = 21.0s, min = 8.4s, avg = 12.2s, dev = 2.8s
43
+ //tensorflow/python/kernel_tests:linalg_ops_test PASSED in 23.1s
44
+ //tensorflow/python/kernel_tests:listdiff_op_test PASSED in 15.0s
45
+ //tensorflow/python/kernel_tests:logging_ops_test PASSED in 11.9s
46
+ //tensorflow/python/kernel_tests:lrn_op_test PASSED in 25.4s
47
+ //tensorflow/python/kernel_tests:matmul_op_test PASSED in 18.7s
48
+ //tensorflow/python/kernel_tests:matrix_inverse_op_test PASSED in 12.5s
49
+ //tensorflow/python/kernel_tests:matrix_solve_ls_op_test PASSED in 11.9s
50
+ //tensorflow/python/kernel_tests:matrix_solve_op_test PASSED in 17.0s
51
+ //tensorflow/python/kernel_tests:matrix_triangular_solve_op_test PASSED in 50.8s
52
+ //tensorflow/python/kernel_tests:morphological_ops_test PASSED in 32.9s
53
+ //tensorflow/python/kernel_tests:multinomial_op_test PASSED in 17.8s
54
+ //tensorflow/python/kernel_tests:numerics_test PASSED in 17.1s
55
+ //tensorflow/python/kernel_tests:one_hot_op_test PASSED in 18.4s
56
+ //tensorflow/python/kernel_tests:pack_op_test PASSED in 19.9s
57
+ //tensorflow/python/kernel_tests:pad_op_test PASSED in 13.2s
58
+ //tensorflow/python/kernel_tests:padding_fifo_queue_test PASSED in 28.1s
59
+ //tensorflow/python/kernel_tests:parameterized_truncated_normal_op_test PASSED in 45.5s
60
+ //tensorflow/python/kernel_tests:parsing_ops_test PASSED in 18.4s
61
+ //tensorflow/python/kernel_tests:partitioned_variables_test PASSED in 35.2s
62
+ //tensorflow/python/kernel_tests:pooling_ops_test PASSED in 37.6s
63
+ //tensorflow/python/kernel_tests:priority_queue_test PASSED in 50.1s
64
+ //tensorflow/python/kernel_tests:random_crop_test PASSED in 18.6s
65
+ //tensorflow/python/kernel_tests:random_gamma_test PASSED in 70.9s
66
+ //tensorflow/python/kernel_tests:random_shuffle_queue_test PASSED in 24.0s
67
+ //tensorflow/python/kernel_tests:reader_ops_test PASSED in 14.7s
68
+ //tensorflow/python/kernel_tests:reduce_join_op_test PASSED in 59.0s
69
+ //tensorflow/python/kernel_tests:relu_op_test PASSED in 16.5s
70
+ //tensorflow/python/kernel_tests:reshape_op_test PASSED in 15.2s
71
+ //tensorflow/python/kernel_tests:reverse_sequence_op_test PASSED in 12.3s
72
+ //tensorflow/python/kernel_tests:rnn_cell_test PASSED in 24.5s
73
+ //tensorflow/python/kernel_tests:save_restore_ops_test PASSED in 24.3s
74
+ //tensorflow/python/kernel_tests:scalar_strict_test PASSED in 16.7s
75
+ //tensorflow/python/kernel_tests:scan_ops_test PASSED in 57.5s
76
+ //tensorflow/python/kernel_tests:scatter_ops_test PASSED in 150.4s
77
+ //tensorflow/python/kernel_tests:segment_reduction_ops_test PASSED in 22.0s
78
+ //tensorflow/python/kernel_tests:self_adjoint_eig_op_test PASSED in 19.5s
79
+ //tensorflow/python/kernel_tests:session_ops_test PASSED in 13.7s
80
+ //tensorflow/python/kernel_tests:shape_ops_test PASSED in 36.2s
81
+ //tensorflow/python/kernel_tests:softmax_op_test PASSED in 9.5s
82
+ //tensorflow/python/kernel_tests:softplus_op_test PASSED in 9.9s
83
+ //tensorflow/python/kernel_tests:spacetobatch_op_test PASSED in 18.1s
84
+ //tensorflow/python/kernel_tests:spacetodepth_op_test PASSED in 25.6s
85
+ //tensorflow/python/kernel_tests:sparse_add_op_test PASSED in 18.9s
86
+ //tensorflow/python/kernel_tests:sparse_concat_op_test PASSED in 13.5s
87
+ //tensorflow/python/kernel_tests:sparse_reorder_op_test PASSED in 30.4s
88
+ //tensorflow/python/kernel_tests:sparse_reshape_op_test PASSED in 19.6s
89
+ //tensorflow/python/kernel_tests:sparse_serialization_ops_test PASSED in 9.9s
90
+ //tensorflow/python/kernel_tests:sparse_split_op_test PASSED in 11.9s
91
+ //tensorflow/python/kernel_tests:sparse_tensor_dense_matmul_grad_test PASSED in 30.3s
92
+ //tensorflow/python/kernel_tests:sparse_tensor_dense_matmul_op_test PASSED in 85.2s
93
+ //tensorflow/python/kernel_tests:sparse_to_dense_op_py_test PASSED in 11.7s
94
+ //tensorflow/python/kernel_tests:sparse_xent_op_test PASSED in 13.1s
95
+ //tensorflow/python/kernel_tests:sparsemask_op_test PASSED in 11.5s
96
+ //tensorflow/python/kernel_tests:split_op_test PASSED in 15.9s
97
+ //tensorflow/python/kernel_tests:stack_ops_test PASSED in 17.6s
98
+ //tensorflow/python/kernel_tests:string_join_op_test PASSED in 9.4s
99
+ //tensorflow/python/kernel_tests:string_to_hash_bucket_op_test PASSED in 17.4s
100
+ //tensorflow/python/kernel_tests:string_to_number_op_test PASSED in 14.1s
101
+ //tensorflow/python/kernel_tests:summary_image_op_test PASSED in 57.8s
102
+ //tensorflow/python/kernel_tests:summary_ops_test PASSED in 22.3s
103
+ //tensorflow/python/kernel_tests:template_test PASSED in 16.4s
104
+ //tensorflow/python/kernel_tests:topk_op_test PASSED in 15.2s
105
+ //tensorflow/python/kernel_tests:trace_op_test PASSED in 10.1s
106
+ //tensorflow/python/kernel_tests:transpose_op_test PASSED in 43.1s
107
+ //tensorflow/python/kernel_tests:unique_op_test PASSED in 17.0s
108
+ //tensorflow/python/kernel_tests:unpack_op_test PASSED in 25.8s
109
+ //tensorflow/python/kernel_tests:variable_scope_test PASSED in 21.4s
110
+ //tensorflow/python/kernel_tests:variables_test PASSED in 18.3s
111
+ //tensorflow/python/kernel_tests:where_op_test PASSED in 11.3s
112
+ //tensorflow/python/kernel_tests:zero_division_test PASSED in 11.2s
113
+ //tensorflow/python/kernel_tests:array_ops_test TIMEOUT in 65.0s
114
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/array_ops_test/test.log
115
+ //tensorflow/python/kernel_tests:barrier_ops_test TIMEOUT in 65.0s
116
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/barrier_ops_test/test.log
117
+ //tensorflow/python/kernel_tests:batch_matmul_op_test TIMEOUT in 65.0s
118
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/batch_matmul_op_test/test.log
119
+ //tensorflow/python/kernel_tests:batchtospace_op_test TIMEOUT in 72.6s
120
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/batchtospace_op_test/test.log
121
+ //tensorflow/python/kernel_tests:control_flow_ops_py_test TIMEOUT in 65.0s
122
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/control_flow_ops_py_test/test.log
123
+ //tensorflow/python/kernel_tests:depthwise_conv_op_test TIMEOUT in 65.0s
124
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/depthwise_conv_op_test/test.log
125
+ //tensorflow/python/kernel_tests:diag_op_test TIMEOUT in 65.0s
126
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/diag_op_test/test.log
127
+ //tensorflow/python/kernel_tests:in_topk_op_test TIMEOUT in 65.2s
128
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/in_topk_op_test/test.log
129
+ //tensorflow/python/kernel_tests:pooling_ops_3d_test TIMEOUT in 68.5s
130
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/pooling_ops_3d_test/test.log
131
+ //tensorflow/python/kernel_tests:random_ops_test TIMEOUT in 67.7s
132
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/random_ops_test/test.log
133
+ //tensorflow/python/kernel_tests:rnn_test TIMEOUT in 305.1s
134
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/rnn_test/test.log
135
+ //tensorflow/python/kernel_tests:seq2seq_test TIMEOUT in 305.0s
136
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/seq2seq_test/test.log
137
+ //tensorflow/python/kernel_tests:slice_op_test TIMEOUT in 306.9s
138
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/slice_op_test/test.log
139
+ //tensorflow/python/kernel_tests:summary_audio_op_test TIMEOUT in 71.1s
140
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/summary_audio_op_test/test.log
141
+ //tensorflow/python/kernel_tests:tensor_array_ops_test TIMEOUT in 65.0s
142
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/tensor_array_ops_test/test.log
143
+ //tensorflow/python/kernel_tests:variable_ops_test TIMEOUT in 65.0s
144
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/variable_ops_test/test.log
145
+ //tensorflow/python/kernel_tests:xent_op_test TIMEOUT in 65.0s
146
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/xent_op_test/test.log
147
+ //tensorflow/python/kernel_tests:cast_op_test FAILED in 20.4s
148
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cast_op_test/test.log
149
+ //tensorflow/python/kernel_tests:concat_op_test FAILED in 169.6s
150
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/concat_op_test/test.log
151
+ //tensorflow/python/kernel_tests:constant_op_test FAILED in 21.5s
152
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/constant_op_test/test.log
153
+ //tensorflow/python/kernel_tests:ctc_loss_op_test FAILED in 24.3s
154
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/ctc_loss_op_test/test.log
155
+ //tensorflow/python/kernel_tests:cwise_ops_test FAILED in 16 out of 50 in 96.7s
156
+ Stats over 50 runs: max = 96.7s, min = 13.6s, avg = 43.1s, dev = 19.0s
157
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_43_of_50.log
158
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_47_of_50.log
159
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_39_of_50.log
160
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_35_of_50.log
161
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_31_of_50.log
162
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_27_of_50.log
163
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_33_of_50.log
164
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_23_of_50.log
165
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_25_of_50.log
166
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_19_of_50.log
167
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_17_of_50.log
168
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_13_of_50.log
169
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_11_of_50.log
170
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_9_of_50.log
171
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_5_of_50.log
172
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/cwise_ops_test/test_shard_1_of_50.log
173
+ //tensorflow/python/kernel_tests:determinant_op_test FAILED in 10.0s
174
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/determinant_op_test/test.log
175
+ //tensorflow/python/kernel_tests:embedding_ops_test FAILED in 1 out of 50 in 72.1s
176
+ Stats over 50 runs: max = 72.1s, min = 4.7s, avg = 11.8s, dev = 14.7s
177
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/embedding_ops_test/test_shard_8_of_50.log
178
+ //tensorflow/python/kernel_tests:functional_ops_test FAILED in 49.9s
179
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/functional_ops_test/test.log
180
+ //tensorflow/python/kernel_tests:py_func_test FAILED in 30.4s
181
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/py_func_test/test.log
182
+ //tensorflow/python/kernel_tests:reduction_ops_test FAILED in 55.8s
183
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/reduction_ops_test/test.log
184
+ //tensorflow/python/kernel_tests:softsign_op_test FAILED in 11.6s
185
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/softsign_op_test/test.log
186
+ //tensorflow/python/kernel_tests:sparse_matmul_op_test FAILED in 18.4s
187
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/sparse_matmul_op_test/test.log
188
+ //tensorflow/python/kernel_tests:sparse_ops_test FAILED in 47.5s
189
+ /home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/sparse_ops_test/test.log
190
+
191
+ Executed 138 out of 138 tests: 108 tests pass and 30 fail locally.
192
+ There were tests whose specified size is too big. Use the --test_verbose_timeout_warnings command line option to see which ones these are.
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/argmax_op_test/test.cache_status ADDED
@@ -0,0 +1 @@
 
 
1
+ H��R�/home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/argmax_op_test/test.log`��
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/argmax_op_test/test.log ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ .E tensorflow/core/client/tensor_c_api.cc:485] Reduction axis 0 is empty in shape [0]
4
+ [[Node: ArgMin = ArgMin[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](ArgMin/input, ArgMin/dimension)]]
5
+ E tensorflow/core/client/tensor_c_api.cc:485] Reduction axis 0 is empty in shape [0]
6
+ [[Node: ArgMax = ArgMax[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"](ArgMax/input, ArgMax/dimension)]]
7
+ .....
8
+ ----------------------------------------------------------------------
9
+ Ran 6 tests in 2.950s
10
+
11
+ OK
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/argmax_op_test/test.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites>
3
+ <testsuite name="tensorflow/python/kernel_tests/argmax_op_test" tests="1" failures="0" errors="0">
4
+ <testcase name="tensorflow/python/kernel_tests/argmax_op_test" status="run"></testcase>
5
+ </testsuite>
6
+ </testsuites>
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/array_ops_test/test.cache_status ADDED
Binary file (180 Bytes). View file
 
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/array_ops_test/test.log ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ .............E tensorflow/core/client/tensor_c_api.cc:485] assertion failed: [Input 1 needs to have rank 1: ] [2]
4
+ [[Node: meshgrid_28/Assert_1 = Assert[T=[DT_STRING, DT_INT32], summarize=3, _device="/job:localhost/replica:0/task:0/cpu:0"](meshgrid_28/Equal_1, meshgrid_28/Assert_1/data_0, meshgrid_28/Rank_3)]]
5
+ ...................
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/as_string_op_test/test.cache_status ADDED
@@ -0,0 +1 @@
 
 
1
+ H�`R�/home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/as_string_op_test/test.log`�`
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/as_string_op_test/test.log ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ .E tensorflow/core/common_runtime/executor.cc:334] Executor failed to create kernel. Invalid argument: Cannot select both scientific and shortest notation
4
+ [[Node: AsString_7 = AsString[T=DT_COMPLEX64, fill="", precision=-1, scientific=true, shortest=true, width=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_Placeholder_0)]]
5
+ E tensorflow/core/client/tensor_c_api.cc:485] Cannot select both scientific and shortest notation
6
+ [[Node: AsString_7 = AsString[T=DT_COMPLEX64, fill="", precision=-1, scientific=true, shortest=true, width=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_Placeholder_0)]]
7
+ .E tensorflow/core/common_runtime/executor.cc:334] Executor failed to create kernel. Invalid argument: Cannot select both scientific and shortest notation
8
+ [[Node: AsString_16 = AsString[T=DT_DOUBLE, fill="", precision=-1, scientific=true, shortest=true, width=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_Placeholder_1_0)]]
9
+ E tensorflow/core/client/tensor_c_api.cc:485] Cannot select both scientific and shortest notation
10
+ [[Node: AsString_16 = AsString[T=DT_DOUBLE, fill="", precision=-1, scientific=true, shortest=true, width=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_Placeholder_1_0)]]
11
+ E tensorflow/core/common_runtime/executor.cc:334] Executor failed to create kernel. Invalid argument: Fill string must be one or fewer characters
12
+ [[Node: AsString_17 = AsString[T=DT_DOUBLE, fill="ab", precision=-1, scientific=false, shortest=false, width=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_Placeholder_1_0)]]
13
+ E tensorflow/core/client/tensor_c_api.cc:485] Fill string must be one or fewer characters
14
+ [[Node: AsString_17 = AsString[T=DT_DOUBLE, fill="ab", precision=-1, scientific=false, shortest=false, width=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_Placeholder_1_0)]]
15
+ .E tensorflow/core/common_runtime/executor.cc:334] Executor failed to create kernel. Invalid argument: scientific and shortest format not supported for datatype int8
16
+ [[Node: AsString_9 = AsString[T=DT_INT8, fill="", precision=-1, scientific=true, shortest=false, width=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_Placeholder_2_0)]]
17
+ E tensorflow/core/client/tensor_c_api.cc:485] scientific and shortest format not supported for datatype int8
18
+ [[Node: AsString_9 = AsString[T=DT_INT8, fill="", precision=-1, scientific=true, shortest=false, width=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_Placeholder_2_0)]]
19
+ E tensorflow/core/common_runtime/executor.cc:334] Executor failed to create kernel. Invalid argument: scientific and shortest format not supported for datatype int8
20
+ [[Node: AsString_10 = AsString[T=DT_INT8, fill="", precision=-1, scientific=false, shortest=true, width=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_Placeholder_2_0)]]
21
+ E tensorflow/core/client/tensor_c_api.cc:485] scientific and shortest format not supported for datatype int8
22
+ [[Node: AsString_10 = AsString[T=DT_INT8, fill="", precision=-1, scientific=false, shortest=true, width=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_Placeholder_2_0)]]
23
+ E tensorflow/core/common_runtime/executor.cc:334] Executor failed to create kernel. Invalid argument: precision not supported for datatype int8
24
+ [[Node: AsString_11 = AsString[T=DT_INT8, fill="", precision=0, scientific=false, shortest=false, width=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_Placeholder_2_0)]]
25
+ E tensorflow/core/client/tensor_c_api.cc:485] precision not supported for datatype int8
26
+ [[Node: AsString_11 = AsString[T=DT_INT8, fill="", precision=0, scientific=false, shortest=false, width=-1, _device="/job:localhost/replica:0/task:0/cpu:0"](_recv_Placeholder_2_0)]]
27
+ ...
28
+ ----------------------------------------------------------------------
29
+ Ran 6 tests in 0.707s
30
+
31
+ OK
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/as_string_op_test/test.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites>
3
+ <testsuite name="tensorflow/python/kernel_tests/as_string_op_test" tests="1" failures="0" errors="0">
4
+ <testcase name="tensorflow/python/kernel_tests/as_string_op_test" status="run"></testcase>
5
+ </testsuite>
6
+ </testsuites>
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/attention_ops_test/test.cache_status ADDED
@@ -0,0 +1 @@
 
 
1
+ HАR�/home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/attention_ops_test/test.log`А
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/attention_ops_test/test.log ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ ............
4
+ ----------------------------------------------------------------------
5
+ Ran 12 tests in 2.796s
6
+
7
+ OK
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/attention_ops_test/test.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites>
3
+ <testsuite name="tensorflow/python/kernel_tests/attention_ops_test" tests="1" failures="0" errors="0">
4
+ <testcase name="tensorflow/python/kernel_tests/attention_ops_test" status="run"></testcase>
5
+ </testsuite>
6
+ </testsuites>
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/barrier_ops_test/test.cache_status ADDED
Binary file (182 Bytes). View file
 
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/barrier_ops_test/test.log ADDED
The diff for this file is too large to render. See raw diff
 
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matmul_op_test/test.cache_status ADDED
Binary file (186 Bytes). View file
 
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matmul_op_test/test.log ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ ......
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_10_of_50.cache_status ADDED
@@ -0,0 +1 @@
 
 
1
+ H�iR�/home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_10_of_50.log`�i
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_10_of_50.log ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ ...
4
+ ----------------------------------------------------------------------
5
+ Ran 3 tests in 6.328s
6
+
7
+ OK
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_10_of_50.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites>
3
+ <testsuite name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" tests="1" failures="0" errors="0">
4
+ <testcase name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" status="run"></testcase>
5
+ </testsuite>
6
+ </testsuites>
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_11_of_50.cache_status ADDED
@@ -0,0 +1 @@
 
 
1
+ H��R�/home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_11_of_50.log`��
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_11_of_50.log ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ ..
4
+ ----------------------------------------------------------------------
5
+ Ran 2 tests in 17.276s
6
+
7
+ OK
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_11_of_50.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites>
3
+ <testsuite name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" tests="1" failures="0" errors="0">
4
+ <testcase name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" status="run"></testcase>
5
+ </testsuite>
6
+ </testsuites>
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_12_of_50.cache_status ADDED
@@ -0,0 +1 @@
 
 
1
+ H��R�/home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_12_of_50.log`��
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_12_of_50.log ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ ..
4
+ ----------------------------------------------------------------------
5
+ Ran 2 tests in 16.616s
6
+
7
+ OK
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_12_of_50.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites>
3
+ <testsuite name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" tests="1" failures="0" errors="0">
4
+ <testcase name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" status="run"></testcase>
5
+ </testsuite>
6
+ </testsuites>
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_13_of_50.cache_status ADDED
@@ -0,0 +1 @@
 
 
1
+ H�R�/home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_13_of_50.log`�
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_13_of_50.log ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ ..
4
+ ----------------------------------------------------------------------
5
+ Ran 2 tests in 9.576s
6
+
7
+ OK
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_13_of_50.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites>
3
+ <testsuite name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" tests="1" failures="0" errors="0">
4
+ <testcase name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" status="run"></testcase>
5
+ </testsuite>
6
+ </testsuites>
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_14_of_50.cache_status ADDED
@@ -0,0 +1 @@
 
 
1
+ H��R�/home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_14_of_50.log`��
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_14_of_50.log ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ ..
4
+ ----------------------------------------------------------------------
5
+ Ran 2 tests in 9.289s
6
+
7
+ OK
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_14_of_50.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites>
3
+ <testsuite name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" tests="1" failures="0" errors="0">
4
+ <testcase name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" status="run"></testcase>
5
+ </testsuite>
6
+ </testsuites>
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_15_of_50.cache_status ADDED
@@ -0,0 +1 @@
 
 
1
+ H��R�/home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_15_of_50.log`��
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_15_of_50.log ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ ..
4
+ ----------------------------------------------------------------------
5
+ Ran 2 tests in 17.007s
6
+
7
+ OK
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_15_of_50.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites>
3
+ <testsuite name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" tests="1" failures="0" errors="0">
4
+ <testcase name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" status="run"></testcase>
5
+ </testsuite>
6
+ </testsuites>
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_16_of_50.cache_status ADDED
@@ -0,0 +1 @@
 
 
1
+ H��R�/home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_16_of_50.log`��
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_16_of_50.log ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ ..
4
+ ----------------------------------------------------------------------
5
+ Ran 2 tests in 16.764s
6
+
7
+ OK
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_16_of_50.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites>
3
+ <testsuite name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" tests="1" failures="0" errors="0">
4
+ <testcase name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" status="run"></testcase>
5
+ </testsuite>
6
+ </testsuites>
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_17_of_50.cache_status ADDED
@@ -0,0 +1 @@
 
 
1
+ H��R�/home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_17_of_50.log`��
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_17_of_50.log ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ ..
4
+ ----------------------------------------------------------------------
5
+ Ran 2 tests in 56.239s
6
+
7
+ OK
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_17_of_50.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites>
3
+ <testsuite name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" tests="1" failures="0" errors="0">
4
+ <testcase name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" status="run"></testcase>
5
+ </testsuite>
6
+ </testsuites>
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_18_of_50.cache_status ADDED
@@ -0,0 +1 @@
 
 
1
+ H��R�/home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_18_of_50.log`��
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_18_of_50.log ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ exec ${PAGER:-/usr/bin/less} "$0" || exit 1
2
+ -----------------------------------------------------------------------------
3
+ ..
4
+ ----------------------------------------------------------------------
5
+ Ran 2 tests in 57.026s
6
+
7
+ OK
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_18_of_50.xml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuites>
3
+ <testsuite name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" tests="1" failures="0" errors="0">
4
+ <testcase name="tensorflow/python/kernel_tests/batch_matrix_band_part_op_test" status="run"></testcase>
5
+ </testsuite>
6
+ </testsuites>
data/testlogs/python27/2016_07_17/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_19_of_50.cache_status ADDED
@@ -0,0 +1 @@
 
 
1
+ H�PR�/home/pi/.cache/bazel/_bazel_pi/4770c5ca1786316d370c900c0b614a6d/tensorflow/bazel-out/local_linux-opt/testlogs/tensorflow/python/kernel_tests/batch_matrix_band_part_op_test/test_shard_19_of_50.log`�P