WORKSPACE 3.2 KB
Newer Older
V
Vijay Vasudevan 已提交
1 2
workspace(name = "org_tensorflow")

3 4
http_archive(
    name = "io_bazel_rules_closure",
M
Martin Wicke 已提交
5 6
    sha256 = "25f5399f18d8bf9ce435f85c6bbf671ec4820bc4396b3022cc5dc4bc66303609",
    strip_prefix = "rules_closure-0.4.2",
7
    urls = [
M
Martin Wicke 已提交
8 9
        "http://mirror.bazel.build/github.com/bazelbuild/rules_closure/archive/0.4.2.tar.gz",  # 2017-08-29
        "https://github.com/bazelbuild/rules_closure/archive/0.4.2.tar.gz",
10 11 12 13 14 15 16
    ],
)

load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")

closure_repositories()

M
Martin Wicke 已提交
17
load("//tensorflow:workspace.bzl", "tf_workspace")
S
Shanqing Cai 已提交
18

19 20 21 22
# Uncomment and update the paths in these entries to build the Android demo.
#android_sdk_repository(
#    name = "androidsdk",
#    api_level = 23,
J
Justine Tunney 已提交
23
#    # Ensure that you have the build_tools_version below installed in the
24 25
#    # SDK manager as it updates periodically.
#    build_tools_version = "25.0.2",
26 27 28 29
#    # Replace with path to Android SDK on your system
#    path = "<PATH_TO_SDK>",
#)
#
30
# Android NDK r12b is recommended (higher may cause issues with Bazel)
31 32 33
#android_ndk_repository(
#    name="androidndk",
#    path="<PATH_TO_NDK>",
J
Justine Tunney 已提交
34
#    # This needs to be 14 or higher to compile TensorFlow.
V
Vijay Vasudevan 已提交
35 36 37
#    # Please specify API level to >= 21 to build for 64-bit
#    # archtectures or the Android NDK will automatically select biggest
#    # API level that it supports without notice.
38 39
#    # Note that the NDK version is not the API level.
#    api_level=14)
40

41
# Please add all new TensorFlow dependencies in workspace.bzl.
42
tf_workspace()
43

44
new_http_archive(
J
Justine Tunney 已提交
45 46 47 48 49 50 51
    name = "inception5h",
    build_file = "models.BUILD",
    sha256 = "d13569f6a98159de37e92e9c8ec4dae8f674fbf475f69fe6199b514f756d4364",
    urls = [
        "http://storage.googleapis.com/download.tensorflow.org/models/inception5h.zip",
        "http://download.tensorflow.org/models/inception5h.zip",
    ],
52 53
)

54 55 56 57 58 59 60 61 62 63
new_http_archive(
    name = "mobile_ssd",
    build_file = "models.BUILD",
    sha256 = "bddd81ea5c80a97adfac1c9f770e6f55cbafd7cce4d3bbe15fbeb041e6b8f3e8",
    urls = [
        "http://storage.googleapis.com/download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip",
        "http://download.tensorflow.org/models/object_detection/ssd_mobilenet_v1_android_export.zip",
    ],
)

64
new_http_archive(
J
Justine Tunney 已提交
65 66 67 68 69 70 71
    name = "mobile_multibox",
    build_file = "models.BUILD",
    sha256 = "859edcddf84dddb974c36c36cfc1f74555148e9c9213dedacf1d6b613ad52b96",
    urls = [
        "http://storage.googleapis.com/download.tensorflow.org/models/mobile_multibox_v1a.zip",
        "http://download.tensorflow.org/models/mobile_multibox_v1a.zip",
    ],
72 73
)

74
new_http_archive(
J
Justine Tunney 已提交
75 76 77 78 79 80 81
    name = "stylize",
    build_file = "models.BUILD",
    sha256 = "3d374a730aef330424a356a8d4f04d8a54277c425e274ecb7d9c83aa912c6bfa",
    urls = [
        "http://storage.googleapis.com/download.tensorflow.org/models/stylize_v1.zip",
        "http://download.tensorflow.org/models/stylize_v1.zip",
    ],
82
)
83 84 85 86 87 88 89 90 91 92

new_http_archive(
    name = "speech_commands",
    build_file = "models.BUILD",
    sha256 = "c3ec4fea3158eb111f1d932336351edfe8bd515bb6e87aad4f25dbad0a600d0c",
    urls = [
        "http://storage.googleapis.com/download.tensorflow.org/models/speech_commands_v0.01.zip",
        "http://download.tensorflow.org/models/speech_commands_v0.01.zip",
    ],
)