Commit Graph
216 Commits
Author SHA1 Message Date
MediaPipe TeamandCopybara-Service 50a49fd16c Internal change
PiperOrigin-RevId: 521226781
2023-04-01 22:29:07 -07:00
MediaPipe TeamandCopybara-Service 4dcb9a2201 Internal change
PiperOrigin-RevId: 520875109
2023-03-31 03:06:43 -07:00
Sebastian SchmidtandCopybara-Service df67b35348 Internal change
PiperOrigin-RevId: 520486540
2023-03-29 17:27:16 -07:00
Sebastian SchmidtandCopybara-Service 6be4aedcf7 Use mediapipe_proto_library for all MediaPipe Protos
PiperOrigin-RevId: 520451054
2023-03-29 15:00:59 -07:00
MediaPipe TeamandCopybara-Service 0c8f691a36 Internal changes
PiperOrigin-RevId: 520411557
2023-03-29 12:35:20 -07:00
MediaPipe TeamandCopybara-Service 53e4e92505 Support single channel golden images.
PiperOrigin-RevId: 519158051
2023-03-24 09:06:41 -07:00
MediaPipe TeamandCopybara-Service c26965c842 Internal change
PiperOrigin-RevId: 519150182
2023-03-24 08:34:11 -07:00
Hadon NashandCopybara-Service 8a55f11952 Internal change
PiperOrigin-RevId: 519010016
2023-03-23 17:51:26 -07:00
MediaPipe TeamandCopybara-Service 948e17f404 Internal change
PiperOrigin-RevId: 518906661
2023-03-23 10:57:43 -07:00
MediaPipe TeamandCopybara-Service 18b4caa7f3 Internal change
PiperOrigin-RevId: 518559368
2023-03-22 07:14:18 -07:00
Jiuqiang TangandCopybara-Service 5a924669b7 Temporarily disabling checking whether the executor is not set in a subgraph node. This is a workaround to allow the MediaPipe InferenceCalculator to have its own executor.
PiperOrigin-RevId: 518117759
2023-03-20 17:10:55 -07:00
MediaPipe TeamandCopybara-Service 1a456dcbf9 Internal change
PiperOrigin-RevId: 517466009
2023-03-17 11:40:26 -07:00
MediaPipe TeamandCopybara-Service a9e956baa1 Add more details to the invoke call trace.
It is always useful information to know if the TPU invoke is Async or not, and if the GPU invoke on the old path or new path.
This can make it obvious in the perfetto trace.

PiperOrigin-RevId: 517162515
2023-03-16 10:37:32 -07:00
Hadon NashandCopybara-Service ade31b567b Internal change
PiperOrigin-RevId: 516626371
2023-03-14 14:04:57 -07:00
MediaPipe TeamandCopybara-Service 05b505c8e2 Introduce api to disable service default initialization.
PiperOrigin-RevId: 515501608
2023-03-09 18:57:39 -08:00
MediaPipe TeamandCopybara-Service 5daf58009d internal
PiperOrigin-RevId: 515392932
2023-03-09 11:27:11 -08:00
Hadon NashandCopybara-Service 16c2e32a0d Internal change
PiperOrigin-RevId: 515044500
2023-03-08 08:29:53 -08:00
Yuqi LiandCopybara-Service 46b5c4012d add custom metadata in metadata_schema.
PiperOrigin-RevId: 514768756
2023-03-07 10:15:09 -08:00
MediaPipe TeamandCopybara-Service 6c68d4c358 Internal change
PiperOrigin-RevId: 514421618
2023-03-06 08:42:19 -08:00
MediaPipe TeamandCopybara-Service 5b2678a49f Add a CHECK for the cases when null service is accessed unconditionally.
PiperOrigin-RevId: 513956583
2023-03-06 07:16:29 -08:00
MediaPipe TeamandCopybara-Service 9c3abcd06f Document graph service usage with docs and unit tests.
PiperOrigin-RevId: 513955877
2023-03-06 07:15:10 -08:00
MediaPipe TeamandCopybara-Service 3854d9fcd5 Document proper way to set services.
PiperOrigin-RevId: 513955214
2023-03-06 07:13:54 -08:00
Hadon NashandCopybara-Service c9c1bf21ae Internal change
PiperOrigin-RevId: 513854481
2023-03-03 10:00:10 -08:00
MediaPipe TeamandCopybara-Service 3837c92fd5 Add functions for checking the existence of options in subgraphs and calculators.
PiperOrigin-RevId: 513689742
2023-03-02 18:01:07 -08:00
Sebastian SchmidtandCopybara-Service 06dd003113 Internal change
PiperOrigin-RevId: 512777889
2023-02-27 17:34:29 -08:00
MediaPipe TeamandCopybara-Service 1575e7f79c Internal change
PiperOrigin-RevId: 512457466
2023-02-27 11:11:24 -08:00
MediaPipe TeamandCopybara-Service 3d4ed305bc Make Tensor::Move() forward quantization parameters.
PiperOrigin-RevId: 509951145
2023-02-15 15:40:22 -08:00
MediaPipe TeamandCopybara-Service c66b7e83f0 ssd anchors calculator add fixed anchors.
PiperOrigin-RevId: 509574814
2023-02-14 10:43:23 -08:00
MediaPipe TeamandCopybara-Service 513ab7abba Internal change
PiperOrigin-RevId: 509338497
2023-02-13 14:47:34 -08:00
MediaPipe TeamandCopybara-Service 2c82f67097 Add location info in registry (debug mode only)
PiperOrigin-RevId: 508786558
2023-02-10 16:58:44 -08:00
Hadon NashandCopybara-Service e719d2d423 Internal change
PiperOrigin-RevId: 508766449
2023-02-10 15:23:01 -08:00
Aden GrueandCopybara-Service 09ad961421 Internal change
PiperOrigin-RevId: 508701833
2023-02-10 10:54:55 -08:00
MediaPipe TeamandCopybara-Service 1f848c4d69 Fix typo in CalculatorGraph error message
PiperOrigin-RevId: 508517972
2023-02-09 17:29:33 -08:00
MediaPipe TeamandCopybara-Service 598d44a27d Internal change
PiperOrigin-RevId: 508284935
2023-02-08 23:31:41 -08:00
MediaPipe TeamandCopybara-Service 5a77339780 Internal change
PiperOrigin-RevId: 507495569
2023-02-06 09:05:12 -08:00
MediaPipe TeamandCopybara-Service 4d8af4315f Rollback: Add PacketSharingOwnership, a safer replacement for PointToForeign.
PiperOrigin-RevId: 507288476
2023-02-05 08:59:09 -08:00
MediaPipe TeamandCopybara-Service 01834a5cdf Internal change
PiperOrigin-RevId: 506982474
2023-02-03 13:39:02 -08:00
MediaPipe TeamandCopybara-Service 3ee377f671 Internal change
PiperOrigin-RevId: 506312863
2023-02-01 07:42:20 -08:00
MediaPipe TeamandCopybara-Service b53acf6267 Internal change
PiperOrigin-RevId: 506059384
2023-01-31 11:20:13 -08:00
MediaPipe TeamandCopybara-Service 591eb204a6 Internal change
PiperOrigin-RevId: 506027661
2023-01-31 09:36:56 -08:00
Sebastian SchmidtandCopybara-Service c29ab7f083 Internal change
PiperOrigin-RevId: 504928797
2023-01-26 13:36:45 -08:00
MediaPipe TeamandCopybara-Service 2547f07c77 Add FrameBuffer format.
PiperOrigin-RevId: 504838580
2023-01-26 07:40:52 -08:00
MediaPipe TeamandCopybara-Service be546d22fc Update test to reflect the recommended graph construction style:
First, graph inputs and their names:
  - Makes it clear what inputs graph has
  - Indirectly demands for type specification e.g. Stream<AnyType> a = graph.In(0); vs Stream<int> a = graph.In(0).Cast<int>();
Then graph nodes
  - Nodes are added and used as they needed
  - One node is not mixed in other nodes, only its outputs
  - Indirectly demands for type specification e.g. Stream<AnyType> a = node.Out(0); vs Stream<int> a = node.Out(0).Cast<int>();
Then graph outputs
  - Makes it clear what outputs graph has

The recommended structure keep C++ graph similar to pbtxt representation.

PiperOrigin-RevId: 504701023
2023-01-25 17:13:17 -08:00
Mike KruskalandCopybara-Service 9cde57d830 Internal change
PiperOrigin-RevId: 504341832
2023-01-24 12:14:02 -08:00
MediaPipe TeamandCopybara-Service 2465e47b01 Stream/SidePacket == and != operators
PiperOrigin-RevId: 504114182
2023-01-23 16:43:23 -08:00
Nikolay ChirkovandCopybara-Service 1124569c29 Tensor: Make tensor not requiring "-x objective-c++" option.
In this case tensor.h is compiled differently for C++ and Objective-C++ that violates ODR (once definition rule). Tensor has no virtual methods conditionally compiled but some Metal-related data members. Instead, unique_ptr to MtlResources that is declared as forward structure is unconditionally defined in the tensor class. MtlResources is defined differently in cc-file only that compiled just once per project so no ODR violation is here.

PiperOrigin-RevId: 504029286
2023-01-23 11:00:35 -08:00
Adam CozzetteandCopybara-Service 7a7cc77a81 Internal change
PiperOrigin-RevId: 503157344
2023-01-19 07:20:04 -08:00
Hadon NashandCopybara-Service 97af47ebf5 Internal change
PiperOrigin-RevId: 503035081
2023-01-18 18:53:42 -08:00
Hadon NashandCopybara-Service 66634bbef8 Internal change
PiperOrigin-RevId: 503011674
2023-01-18 16:38:11 -08:00
MediaPipe TeamandCopybara-Service e56fa8f258 Source/SideSource -> Stream/SidePacket
PiperOrigin-RevId: 502923931
2023-01-18 11:02:41 -08:00