"src/targets/vscode:/vscode.git/clone" did not exist on "9a43b32cf1e3940b8c8f32038903bd6a2004702c"
BUILD 881 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# Tensorflow Object Detection API: main runnables.

package(
    default_visibility = ["//visibility:public"],
)

licenses(["notice"])

# Apache 2.0

py_library(
    name = "detection_inference",
    srcs = ["detection_inference.py"],
    deps = [
        "//tensorflow",
16
        "//tensorflow/models/research/object_detection/core:standard_fields",
17
18
19
20
21
22
23
24
    ],
)

py_test(
    name = "detection_inference_test",
    srcs = ["detection_inference_test.py"],
    deps = [
        ":detection_inference",
25
26
        "//PIL:pil",
        "//numpy",
27
        "//tensorflow",
28
29
        "//tensorflow/models/research/object_detection/core:standard_fields",
        "//tensorflow/models/research/object_detection/utils:dataset_util",
30
31
32
33
34
35
36
37
38
39
40
    ],
)

py_binary(
    name = "infer_detections",
    srcs = ["infer_detections.py"],
    deps = [
        ":detection_inference",
        "//tensorflow",
    ],
)