blob: fd7570a80ae2ee0087f7d2fd771fcce5b9690028 [file] [log] [blame]
Vijay Vasudevan8cc567b2016-05-26 11:05:13 -08001workspace(name = "org_tensorflow")
2
Justine Tunney02f276c2017-02-03 17:13:49 -08003http_archive(
4 name = "io_bazel_rules_closure",
Yifei Feng22f3a972018-04-23 21:19:14 -07005 sha256 = "a38539c5b5c358548e75b44141b4ab637bba7c4dc02b46b1f62a96d6433f56ae",
6 strip_prefix = "rules_closure-dbb96841cc0a5fb2664c37822803b06dab20c7d1",
Justine Tunney02f276c2017-02-03 17:13:49 -08007 urls = [
Yifei Feng22f3a972018-04-23 21:19:14 -07008 "https://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/dbb96841cc0a5fb2664c37822803b06dab20c7d1.tar.gz",
9 "https://github.com/bazelbuild/rules_closure/archive/dbb96841cc0a5fb2664c37822803b06dab20c7d1.tar.gz", # 2018-04-13
Justine Tunney02f276c2017-02-03 17:13:49 -080010 ],
11)
12
13load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
14
15closure_repositories()
16
Ilya Biryukov9e651e42018-03-22 05:33:42 -070017# We must check the bazel version before trying to parse any other BUILD
18# files, in case the parsing of those build files depends on the bazel
19# version we require here.
20load("//tensorflow:version_check.bzl", "check_bazel_version_at_least")
21check_bazel_version_at_least("0.10.0")
22
Martin Wickebc456e32017-03-23 12:31:16 -080023load("//tensorflow:workspace.bzl", "tf_workspace")
Shanqing Caiefd40e52017-01-08 20:31:30 -080024
Michael Case51053502018-06-05 17:47:19 -070025load("//third_party/android:android_configure.bzl", "android_configure")
26android_configure(name="local_config_android")
27load("@local_config_android//:android.bzl", "android_workspace")
28android_workspace()
Manjunath Kudlurf41959c2015-11-06 16:27:58 -080029
Kiril Gorovoy5b5976a2016-03-10 14:06:08 -080030# Please add all new TensorFlow dependencies in workspace.bzl.
Kiril Gorovoy77da1682016-02-24 18:02:16 -080031tf_workspace()
Manjunath Kudlurf41959c2015-11-06 16:27:58 -080032
Dan Smilkovf0e9bd32016-11-09 12:53:00 -080033new_http_archive(
Michael Cased90054e2018-02-07 14:36:00 -080034 name = "inception_v1",
Justine Tunney52b4d472017-05-17 16:13:33 -070035 build_file = "models.BUILD",
Michael Cased90054e2018-02-07 14:36:00 -080036 sha256 = "7efe12a8363f09bc24d7b7a450304a15655a57a7751929b2c1593a71183bb105",
Justine Tunney52b4d472017-05-17 16:13:33 -070037 urls = [
Michael Cased90054e2018-02-07 14:36:00 -080038 "http://storage.googleapis.com/download.tensorflow.org/models/inception_v1.zip",
39 "http://download.tensorflow.org/models/inception_v1.zip",
Justine Tunney52b4d472017-05-17 16:13:33 -070040 ],
Dan Smilkovf0e9bd32016-11-09 12:53:00 -080041)
42
Andrew Harpa30b9922016-11-28 15:41:52 -080043new_http_archive(
A. Unique TensorFlower53aabd52017-08-09 18:18:26 -070044 name = "mobile_ssd",
45 build_file = "models.BUILD",
46 sha256 = "bddd81ea5c80a97adfac1c9f770e6f55cbafd7cce4d3bbe15fbeb041e6b8f3e8",
47 urls = [
48 "http://storage.googleapis.com/download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip",
49 "http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip",
50 ],
51)
52
53new_http_archive(
Justine Tunney52b4d472017-05-17 16:13:33 -070054 name = "mobile_multibox",
55 build_file = "models.BUILD",
56 sha256 = "859edcddf84dddb974c36c36cfc1f74555148e9c9213dedacf1d6b613ad52b96",
57 urls = [
58 "http://storage.googleapis.com/download.tensorflow.org/models/mobile_multibox_v1a.zip",
59 "http://download.tensorflow.org/models/mobile_multibox_v1a.zip",
60 ],
Andrew Harpa30b9922016-11-28 15:41:52 -080061)
62
Andrew Harp6426c4e2017-01-11 14:05:52 -080063new_http_archive(
Justine Tunney52b4d472017-05-17 16:13:33 -070064 name = "stylize",
65 build_file = "models.BUILD",
66 sha256 = "3d374a730aef330424a356a8d4f04d8a54277c425e274ecb7d9c83aa912c6bfa",
67 urls = [
68 "http://storage.googleapis.com/download.tensorflow.org/models/stylize_v1.zip",
69 "http://download.tensorflow.org/models/stylize_v1.zip",
70 ],
Dan Smilkov38a4afc2016-08-31 11:56:58 -080071)
Pete Warden7d01f892017-08-18 09:32:30 -070072
73new_http_archive(
74 name = "speech_commands",
75 build_file = "models.BUILD",
76 sha256 = "c3ec4fea3158eb111f1d932336351edfe8bd515bb6e87aad4f25dbad0a600d0c",
77 urls = [
78 "http://storage.googleapis.com/download.tensorflow.org/models/speech_commands_v0.01.zip",
79 "http://download.tensorflow.org/models/speech_commands_v0.01.zip",
80 ],
81)