Skip to content

Commit a440f65

Browse files
committed
Fixed examples/person_detection/utils
1 parent 7064a19 commit a440f65

File tree

2 files changed

+8
-1
lines changed
  • tensorflow/lite/micro/examples/person_detection

2 files changed

+8
-1
lines changed

tensorflow/lite/micro/examples/person_detection/BUILD

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,13 @@ tflm_cc_library(
2525
],
2626
)
2727

28+
filegroup(
29+
name = "testdata_files",
30+
srcs = glob(["testdata/**"]),
31+
visibility = ["//visibility:public"],
32+
)
33+
34+
2835
generate_cc_arrays(
2936
name = "generated_no_person_bmp_cc",
3037
src = "testdata/no_person.bmp",

tensorflow/lite/micro/examples/person_detection/utils/BUILD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ py_library(
2525
py_test(
2626
name = "raw_to_bitmap_test",
2727
srcs = ["raw_to_bitmap_test.py"],
28-
data = glob(["testdata/**"]),
28+
data = ["//tensorflow/lite/micro/examples/person_detection:testdata_files"],
2929
tags = [
3030
"nomicro_static", # TF dep incompatible w/ TF_LITE_STATIC_MEMORY.
3131
"notap", # TODO(b/186679612)

0 commit comments

Comments
 (0)