BUILD 7.06 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# 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",
18
        "//tensorflow/models/research/object_detection/utils:ops",
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
    ],
)

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",
40
        "//tensorflow/models/research/object_detection/utils:test_case",
41
42
43
44
45
46
47
48
49
50
51
    ],
)

py_library(
    name = "ssd_inception_v2_feature_extractor",
    srcs = [
        "ssd_inception_v2_feature_extractor.py",
    ],
    deps = [
        ":feature_map_generators",
        "//tensorflow",
52
53
54
55
        "//tensorflow/models/research/object_detection/meta_architectures:ssd_meta_arch",
        "//tensorflow/models/research/object_detection/utils:ops",
        "//tensorflow/models/research/object_detection/utils:shape_utils",
        "//third_party/tensorflow_models/slim:inception_v2",
56
57
58
    ],
)

59
60
61
62
63
64
65
66
py_library(
    name = "ssd_inception_v3_feature_extractor",
    srcs = [
        "ssd_inception_v3_feature_extractor.py",
    ],
    deps = [
        ":feature_map_generators",
        "//tensorflow",
67
68
69
70
        "//tensorflow/models/research/object_detection/meta_architectures:ssd_meta_arch",
        "//tensorflow/models/research/object_detection/utils:ops",
        "//tensorflow/models/research/object_detection/utils:shape_utils",
        "//third_party/tensorflow_models/slim:inception_v3",
71
72
73
    ],
)

74
75
76
77
78
79
py_library(
    name = "ssd_mobilenet_v1_feature_extractor",
    srcs = ["ssd_mobilenet_v1_feature_extractor.py"],
    deps = [
        ":feature_map_generators",
        "//tensorflow",
80
81
82
83
        "//tensorflow/models/research/object_detection/meta_architectures:ssd_meta_arch",
        "//tensorflow/models/research/object_detection/utils:ops",
        "//tensorflow/models/research/object_detection/utils:shape_utils",
        "//third_party/tensorflow_models/slim:mobilenet_v1",
84
85
86
87
88
89
90
91
92
93
    ],
)

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",
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
        "//tensorflow/models/research/object_detection/utils:ops",
        "//third_party/tensorflow_models/slim:mobilenet_v1",
    ],
)

py_library(
    name = "ssd_resnet_v1_fpn_feature_extractor",
    srcs = ["ssd_resnet_v1_fpn_feature_extractor.py"],
    deps = [
        ":feature_map_generators",
        "//tensorflow",
        "//tensorflow/models/research/object_detection/meta_architectures:ssd_meta_arch",
        "//tensorflow/models/research/object_detection/utils:ops",
        "//tensorflow/models/research/object_detection/utils:shape_utils",
        "//third_party/tensorflow_models/slim:resnet_v1",
    ],
)

py_library(
    name = "ssd_resnet_v1_fpn_feature_extractor_testbase",
    srcs = ["ssd_resnet_v1_fpn_feature_extractor_testbase.py"],
    deps = [
        "//tensorflow/models/research/object_detection/models:ssd_feature_extractor_test",
    ],
)

py_test(
    name = "ssd_resnet_v1_fpn_feature_extractor_test",
    srcs = ["ssd_resnet_v1_fpn_feature_extractor_test.py"],
    deps = [
        ":ssd_resnet_v1_fpn_feature_extractor",
        ":ssd_resnet_v1_fpn_feature_extractor_testbase",
        "//tensorflow",
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
    ],
)

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",
    ],
)

142
143
144
145
146
147
148
149
150
151
152
153
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",
    ],
)

154
155
156
157
158
159
160
161
162
163
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",
    ],
)

164
165
166
167
168
169
170
171
172
173
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",
    ],
)

Vivek Rathod's avatar
Vivek Rathod committed
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
py_test(
    name = "faster_rcnn_nas_feature_extractor_test",
    srcs = [
        "faster_rcnn_nas_feature_extractor_test.py",
    ],
    deps = [
        ":faster_rcnn_nas_feature_extractor",
        "//tensorflow",
    ],
)

py_library(
    name = "faster_rcnn_nas_feature_extractor",
    srcs = [
        "faster_rcnn_nas_feature_extractor.py",
    ],
    deps = [
        "//tensorflow",
192
193
        "//tensorflow/models/research/object_detection/meta_architectures:faster_rcnn_meta_arch",
        "//third_party/tensorflow_models/slim:nasnet",
Vivek Rathod's avatar
Vivek Rathod committed
194
195
196
    ],
)

197
198
199
200
201
202
203
py_library(
    name = "faster_rcnn_inception_resnet_v2_feature_extractor",
    srcs = [
        "faster_rcnn_inception_resnet_v2_feature_extractor.py",
    ],
    deps = [
        "//tensorflow",
204
205
        "//tensorflow/models/research/object_detection/meta_architectures:faster_rcnn_meta_arch",
        "//third_party/tensorflow_models/slim:inception_resnet_v2",
206
207
208
209
210
211
212
213
214
215
216
217
218
219
    ],
)

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",
    ],
)

220
221
222
223
224
225
226
py_library(
    name = "faster_rcnn_inception_v2_feature_extractor",
    srcs = [
        "faster_rcnn_inception_v2_feature_extractor.py",
    ],
    deps = [
        "//tensorflow",
227
228
        "//tensorflow/models/research/object_detection/meta_architectures:faster_rcnn_meta_arch",
        "//third_party/tensorflow_models/slim:inception_v2",
229
230
231
232
233
234
235
236
237
238
239
240
241
242
    ],
)

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",
    ],
)

243
244
245
246
247
248
249
py_library(
    name = "faster_rcnn_resnet_v1_feature_extractor",
    srcs = [
        "faster_rcnn_resnet_v1_feature_extractor.py",
    ],
    deps = [
        "//tensorflow",
250
251
252
        "//tensorflow/models/research/object_detection/meta_architectures:faster_rcnn_meta_arch",
        "//third_party/tensorflow_models/slim:resnet_utils",
        "//third_party/tensorflow_models/slim:resnet_v1",
253
254
255
256
257
258
259
260
261
262
263
264
265
    ],
)

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",
    ],
)