Vijay Vasudevan | 8cc567b | 2016-05-26 11:05:13 -0800 | [diff] [blame] | 1 | workspace(name = "org_tensorflow") |
| 2 | |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 3 | http_archive( |
| 4 | name = "io_bazel_rules_closure", |
Yun Peng | 3f57956 | 2018-01-17 05:47:50 +0100 | [diff] [blame] | 5 | sha256 = "6691c58a2cd30a86776dd9bb34898b041e37136f2dc7e24cadaeaf599c95c657", |
| 6 | strip_prefix = "rules_closure-08039ba8ca59f64248bb3b6ae016460fe9c9914f", |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 7 | urls = [ |
Yun Peng | 3f57956 | 2018-01-17 05:47:50 +0100 | [diff] [blame] | 8 | "https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/08039ba8ca59f64248bb3b6ae016460fe9c9914f.tar.gz", |
| 9 | "https://github.com/bazelbuild/rules_closure/archive/08039ba8ca59f64248bb3b6ae016460fe9c9914f.tar.gz", # 2018-01-16 |
Justine Tunney | 02f276c | 2017-02-03 17:13:49 -0800 | [diff] [blame] | 10 | ], |
| 11 | ) |
| 12 | |
| 13 | load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories") |
| 14 | |
| 15 | closure_repositories() |
| 16 | |
Martin Wicke | bc456e3 | 2017-03-23 12:31:16 -0800 | [diff] [blame] | 17 | load("//tensorflow:workspace.bzl", "tf_workspace") |
Shanqing Cai | efd40e5 | 2017-01-08 20:31:30 -0800 | [diff] [blame] | 18 | |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 19 | # Uncomment and update the paths in these entries to build the Android demo. |
| 20 | #android_sdk_repository( |
| 21 | # name = "androidsdk", |
| 22 | # api_level = 23, |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 23 | # # Ensure that you have the build_tools_version below installed in the |
A. Unique TensorFlower | ccbc899 | 2017-04-04 16:10:08 -0800 | [diff] [blame] | 24 | # # SDK manager as it updates periodically. |
Andrew Harp | 787d86a | 2017-09-20 12:54:12 -0700 | [diff] [blame] | 25 | # build_tools_version = "26.0.1", |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 26 | # # Replace with path to Android SDK on your system |
| 27 | # path = "<PATH_TO_SDK>", |
| 28 | #) |
| 29 | # |
| 30 | #android_ndk_repository( |
| 31 | # name="androidndk", |
| 32 | # path="<PATH_TO_NDK>", |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 33 | # # This needs to be 14 or higher to compile TensorFlow. |
Vijay Vasudevan | a1fba7f | 2017-07-28 10:58:56 -0700 | [diff] [blame] | 34 | # # Please specify API level to >= 21 to build for 64-bit |
| 35 | # # archtectures or the Android NDK will automatically select biggest |
| 36 | # # API level that it supports without notice. |
A. Unique TensorFlower | ccbc899 | 2017-04-04 16:10:08 -0800 | [diff] [blame] | 37 | # # Note that the NDK version is not the API level. |
| 38 | # api_level=14) |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 39 | |
Kiril Gorovoy | 5b5976a | 2016-03-10 14:06:08 -0800 | [diff] [blame] | 40 | # Please add all new TensorFlow dependencies in workspace.bzl. |
Kiril Gorovoy | 77da168 | 2016-02-24 18:02:16 -0800 | [diff] [blame] | 41 | tf_workspace() |
Manjunath Kudlur | f41959c | 2015-11-06 16:27:58 -0800 | [diff] [blame] | 42 | |
Dan Smilkov | f0e9bd3 | 2016-11-09 12:53:00 -0800 | [diff] [blame] | 43 | new_http_archive( |
Andrew Harp | 4222bd9 | 2018-01-22 19:53:09 -0500 | [diff] [blame] | 44 | name = "inception_v1", |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 45 | build_file = "models.BUILD", |
Andrew Harp | 4222bd9 | 2018-01-22 19:53:09 -0500 | [diff] [blame] | 46 | sha256 = "7efe12a8363f09bc24d7b7a450304a15655a57a7751929b2c1593a71183bb105", |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 47 | urls = [ |
Andrew Harp | 4222bd9 | 2018-01-22 19:53:09 -0500 | [diff] [blame] | 48 | "http://storage.googleapis.com/download.tensorflow.org/models/inception_v1.zip", |
| 49 | "http://download.tensorflow.org/models/inception_v1.zip", |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 50 | ], |
Dan Smilkov | f0e9bd3 | 2016-11-09 12:53:00 -0800 | [diff] [blame] | 51 | ) |
| 52 | |
Andrew Harp | a30b992 | 2016-11-28 15:41:52 -0800 | [diff] [blame] | 53 | new_http_archive( |
A. Unique TensorFlower | 53aabd5 | 2017-08-09 18:18:26 -0700 | [diff] [blame] | 54 | name = "mobile_ssd", |
| 55 | build_file = "models.BUILD", |
| 56 | sha256 = "bddd81ea5c80a97adfac1c9f770e6f55cbafd7cce4d3bbe15fbeb041e6b8f3e8", |
| 57 | urls = [ |
| 58 | "http://storage.googleapis.com/download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip", |
| 59 | "http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip", |
| 60 | ], |
| 61 | ) |
| 62 | |
| 63 | new_http_archive( |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 64 | name = "mobile_multibox", |
| 65 | build_file = "models.BUILD", |
| 66 | sha256 = "859edcddf84dddb974c36c36cfc1f74555148e9c9213dedacf1d6b613ad52b96", |
| 67 | urls = [ |
| 68 | "http://storage.googleapis.com/download.tensorflow.org/models/mobile_multibox_v1a.zip", |
| 69 | "http://download.tensorflow.org/models/mobile_multibox_v1a.zip", |
| 70 | ], |
Andrew Harp | a30b992 | 2016-11-28 15:41:52 -0800 | [diff] [blame] | 71 | ) |
| 72 | |
Andrew Harp | 6426c4e | 2017-01-11 14:05:52 -0800 | [diff] [blame] | 73 | new_http_archive( |
Justine Tunney | 52b4d47 | 2017-05-17 16:13:33 -0700 | [diff] [blame] | 74 | name = "stylize", |
| 75 | build_file = "models.BUILD", |
| 76 | sha256 = "3d374a730aef330424a356a8d4f04d8a54277c425e274ecb7d9c83aa912c6bfa", |
| 77 | urls = [ |
| 78 | "http://storage.googleapis.com/download.tensorflow.org/models/stylize_v1.zip", |
| 79 | "http://download.tensorflow.org/models/stylize_v1.zip", |
| 80 | ], |
Dan Smilkov | 38a4afc | 2016-08-31 11:56:58 -0800 | [diff] [blame] | 81 | ) |
Pete Warden | 7d01f89 | 2017-08-18 09:32:30 -0700 | [diff] [blame] | 82 | |
| 83 | new_http_archive( |
| 84 | name = "speech_commands", |
| 85 | build_file = "models.BUILD", |
| 86 | sha256 = "c3ec4fea3158eb111f1d932336351edfe8bd515bb6e87aad4f25dbad0a600d0c", |
| 87 | urls = [ |
| 88 | "http://storage.googleapis.com/download.tensorflow.org/models/speech_commands_v0.01.zip", |
| 89 | "http://download.tensorflow.org/models/speech_commands_v0.01.zip", |
| 90 | ], |
| 91 | ) |