BUILD 4.99 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# Tensorflow Object Detection API: Models.

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

licenses(["notice"])

# Apache 2.0

py_library(
    name = "feature_map_generators",
    srcs = [
        "feature_map_generators.py",
    ],
    deps = [
        "//tensorflow",
    ],
)

py_test(
    name = "feature_map_generators_test",
    srcs = [
        "feature_map_generators_test.py",
    ],
    deps = [
        ":feature_map_generators",
        "//tensorflow",
    ],
)

py_library(
    name = "ssd_feature_extractor_test",
    srcs = [
        "ssd_feature_extractor_test.py",
    ],
    deps = [
        "//tensorflow",
    ],
)

py_library(
    name = "ssd_inception_v2_feature_extractor",
    srcs = [
        "ssd_inception_v2_feature_extractor.py",
    ],
    deps = [
        ":feature_map_generators",
        "//tensorflow",
        "//tensorflow_models/object_detection/meta_architectures:ssd_meta_arch",
51
        "//tensorflow_models/object_detection/utils:ops",
52
53
54
55
        "//tensorflow_models/slim:inception_v2",
    ],
)

56
57
58
59
60
61
62
63
64
65
66
67
68
69
py_library(
    name = "ssd_inception_v3_feature_extractor",
    srcs = [
        "ssd_inception_v3_feature_extractor.py",
    ],
    deps = [
        ":feature_map_generators",
        "//tensorflow",
        "//tensorflow_models/object_detection/meta_architectures:ssd_meta_arch",
        "//tensorflow_models/object_detection/utils:ops",
        "//tensorflow_models/slim:inception_v3",
    ],
)

70
71
72
73
74
75
76
py_library(
    name = "ssd_mobilenet_v1_feature_extractor",
    srcs = ["ssd_mobilenet_v1_feature_extractor.py"],
    deps = [
        ":feature_map_generators",
        "//tensorflow",
        "//tensorflow_models/object_detection/meta_architectures:ssd_meta_arch",
77
78
79
80
81
82
83
84
85
86
87
88
89
        "//tensorflow_models/object_detection/utils:ops",
        "//tensorflow_models/slim:mobilenet_v1",
    ],
)

py_library(
    name = "embedded_ssd_mobilenet_v1_feature_extractor",
    srcs = ["embedded_ssd_mobilenet_v1_feature_extractor.py"],
    deps = [
        ":feature_map_generators",
        ":ssd_mobilenet_v1_feature_extractor",
        "//tensorflow",
        "//tensorflow_models/object_detection/utils:ops",
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
        "//tensorflow_models/slim:mobilenet_v1",
    ],
)

py_test(
    name = "ssd_inception_v2_feature_extractor_test",
    srcs = [
        "ssd_inception_v2_feature_extractor_test.py",
    ],
    deps = [
        ":ssd_feature_extractor_test",
        ":ssd_inception_v2_feature_extractor",
        "//tensorflow",
    ],
)

106
107
108
109
110
111
112
113
114
115
116
117
py_test(
    name = "ssd_inception_v3_feature_extractor_test",
    srcs = [
        "ssd_inception_v3_feature_extractor_test.py",
    ],
    deps = [
        ":ssd_feature_extractor_test",
        ":ssd_inception_v3_feature_extractor",
        "//tensorflow",
    ],
)

118
119
120
121
122
123
124
125
126
127
py_test(
    name = "ssd_mobilenet_v1_feature_extractor_test",
    srcs = ["ssd_mobilenet_v1_feature_extractor_test.py"],
    deps = [
        ":ssd_feature_extractor_test",
        ":ssd_mobilenet_v1_feature_extractor",
        "//tensorflow",
    ],
)

128
129
130
131
132
133
134
135
136
137
py_test(
    name = "embedded_ssd_mobilenet_v1_feature_extractor_test",
    srcs = ["embedded_ssd_mobilenet_v1_feature_extractor_test.py"],
    deps = [
        ":embedded_ssd_mobilenet_v1_feature_extractor",
        ":ssd_feature_extractor_test",
        "//tensorflow",
    ],
)

138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
py_library(
    name = "faster_rcnn_inception_resnet_v2_feature_extractor",
    srcs = [
        "faster_rcnn_inception_resnet_v2_feature_extractor.py",
    ],
    deps = [
        "//tensorflow",
        "//tensorflow_models/object_detection/meta_architectures:faster_rcnn_meta_arch",
        "//tensorflow_models/slim:inception_resnet_v2",
    ],
)

py_test(
    name = "faster_rcnn_inception_resnet_v2_feature_extractor_test",
    srcs = [
        "faster_rcnn_inception_resnet_v2_feature_extractor_test.py",
    ],
    deps = [
        ":faster_rcnn_inception_resnet_v2_feature_extractor",
        "//tensorflow",
    ],
)

161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
py_library(
    name = "faster_rcnn_inception_v2_feature_extractor",
    srcs = [
        "faster_rcnn_inception_v2_feature_extractor.py",
    ],
    deps = [
        "//tensorflow",
        "//tensorflow_models/object_detection/meta_architectures:faster_rcnn_meta_arch",
        "//tensorflow_models/slim:inception_v2",
    ],
)

py_test(
    name = "faster_rcnn_inception_v2_feature_extractor_test",
    srcs = [
        "faster_rcnn_inception_v2_feature_extractor_test.py",
    ],
    deps = [
        ":faster_rcnn_inception_v2_feature_extractor",
        "//tensorflow",
    ],
)

184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
py_library(
    name = "faster_rcnn_resnet_v1_feature_extractor",
    srcs = [
        "faster_rcnn_resnet_v1_feature_extractor.py",
    ],
    deps = [
        "//tensorflow",
        "//tensorflow_models/object_detection/meta_architectures:faster_rcnn_meta_arch",
        "//tensorflow_models/slim:resnet_utils",
        "//tensorflow_models/slim:resnet_v1",
    ],
)

py_test(
    name = "faster_rcnn_resnet_v1_feature_extractor_test",
    srcs = [
        "faster_rcnn_resnet_v1_feature_extractor_test.py",
    ],
    deps = [
        ":faster_rcnn_resnet_v1_feature_extractor",
        "//tensorflow",
    ],
)