MediaPipe Team
e468bee584
Deprecate GraphStatus()
...
PiperOrigin-RevId: 539992850
2023-06-13 09:54:22 -07:00
MediaPipe Team
96cc0fd07b
Internal change
...
PiperOrigin-RevId: 539719443
2023-06-12 11:53:48 -07:00
MediaPipe Team
1d4a205c2e
Internal change
...
PiperOrigin-RevId: 539220863
2023-06-09 18:06:50 -07:00
MediaPipe Team
280bd320b4
Fix more OSS warnings and build errors
...
-Wc++98-compat-extra-semi
* in type_map.h
-Winconsistent-missing-override
* in gl_texture_buffer.h
-Wdeprecated-declarations
* usage of (absl) Status in
* status_util.cc
* api2/packet.h
* output_stream_shard.cc
-Wimplicit-const-int-float-conversion
* Adds a static_cast to handle the precision loss when converting from large ints to floating point
ANNOTATE_THREAD_NAME
* explicitly uses ABSL_ANNOTATE_THREAD_NAME instead. This is useful in Chromium's build where there are multiple ANNOTATE_THREAD_NAME symbols
Also ran clang-format over all of each edited file
PiperOrigin-RevId: 537351290
2023-06-02 10:46:42 -07:00
MediaPipe Team
201b2d739d
Fix c++98-compat-extra-semi warnings
...
PiperOrigin-RevId: 534624086
2023-05-23 18:03:29 -07:00
MediaPipe Team
3dcfca3a73
Fix deprecated usages
...
* In status_builder.h to use absl::Status directly
* In type_map.h to use kTypeId.hash_code() directly
PiperOrigin-RevId: 534622923
2023-05-23 17:58:58 -07:00
MediaPipe Team
02230f65d1
Internal change
...
PiperOrigin-RevId: 532934867
2023-05-17 15:54:32 -07:00
MediaPipe Team
609a57f167
Internal change
...
PiperOrigin-RevId: 532597768
2023-05-16 15:56:25 -07:00
MediaPipe Team
d7fa4b95b5
Internal change.
...
PiperOrigin-RevId: 532474319
2023-05-16 08:56:30 -07:00
MediaPipe Team
e0eef9791e
Internal change
...
PiperOrigin-RevId: 532113907
2023-05-15 08:06:33 -07:00
MediaPipe Team
613f645c74
Update CalculatorOptions to encourage proto3 options
...
PiperOrigin-RevId: 530127533
2023-05-07 11:25:43 -07:00
MediaPipe Team
ecc8dca8ba
Internal change
...
PiperOrigin-RevId: 529752098
2023-05-05 10:28:38 -07:00
MediaPipe Team
64cad80543
Internal change.
...
PiperOrigin-RevId: 529449175
2023-05-04 10:33:40 -07:00
MediaPipe Team
baa8fc68a1
Make uploading to GPU optional in Image.GetGpuBuffer().
...
PiperOrigin-RevId: 529066617
2023-05-03 05:57:58 -07:00
MediaPipe Team
3789156a41
Internal change
...
PiperOrigin-RevId: 529011480
2023-05-03 00:29:13 -07:00
MediaPipe Team
7fdbbee5be
Internal change
...
PiperOrigin-RevId: 528799585
2023-05-02 09:07:29 -07:00
MediaPipe Team
5526e96b21
Internal change for proto library outputs.
...
PiperOrigin-RevId: 528539840
2023-05-01 12:17:29 -07:00
MediaPipe Team
cab619f8da
Fix typo in README
...
PiperOrigin-RevId: 528506206
2023-05-01 10:25:05 -07:00
MediaPipe Team
80b19fff4b
Internal Change
...
PiperOrigin-RevId: 528399911
2023-04-30 23:10:21 -07:00
Copybara-Service
2bb1b454ea
Merge pull request #4300 from priankakariatyml:ios-text-cocoapods-force-load
...
PiperOrigin-RevId: 527932547
2023-04-28 11:06:44 -07:00
MediaPipe Team
7b055df211
Internal change
...
PiperOrigin-RevId: 527473249
2023-04-26 22:14:32 -07:00
MediaPipe Team
48aa88f39d
Change object detector learning rate decay to cosine decay.
...
PiperOrigin-RevId: 527337105
2023-04-26 12:13:17 -07:00
MediaPipe Team
17f5b95387
Internal change.
...
PiperOrigin-RevId: 527010360
2023-04-25 10:41:52 -07:00
Jiuqiang Tang
3bc8276678
Remove "All Rights Reserved." in copyright headers.
...
PiperOrigin-RevId: 526982992
2023-04-25 09:06:29 -07:00
MediaPipe Team
58dcbc9833
Internal change
...
PiperOrigin-RevId: 526117263
2023-04-21 13:12:47 -07:00
MediaPipe Team
476c7efc18
Remove uses of ATOMIC_VAR_INIT
...
ATOMIC_VAR_INIT has a trivial definition
`#define ATOMIC_VAR_INIT(value) (value)`,
is deprecated in C17/C++20, and will be removed in newer standards in
newer GCC/Clang (e.g. https://reviews.llvm.org/D144196 ).
PiperOrigin-RevId: 525534393
2023-04-19 13:26:47 -07:00
MediaPipe Team
b2586e7e3b
Internal change
...
PiperOrigin-RevId: 525495248
2023-04-19 11:01:13 -07:00
MediaPipe Team
b83fa5b67d
Internal change
...
PiperOrigin-RevId: 525365673
2023-04-19 00:17:50 -07:00
MediaPipe Team
547d3c00a7
Internal change
...
PiperOrigin-RevId: 524496413
2023-04-15 02:34:17 -07:00
MediaPipe Team
a71c697d90
Internal change
...
PiperOrigin-RevId: 523797476
2023-04-12 13:58:11 -07:00
MediaPipe Team
f41a912250
Internal change
...
PiperOrigin-RevId: 523703537
2023-04-12 08:14:13 -07:00
MediaPipe Team
a7c6910625
Internal change
...
PiperOrigin-RevId: 523616811
2023-04-11 23:52:14 -07:00
MediaPipe Team
f923f6bcda
Internal change
...
PiperOrigin-RevId: 523589395
2023-04-11 21:03:38 -07:00
MediaPipe Team
c9aa24b0e7
Support proto3 node_option in api2 graph_builder
...
PiperOrigin-RevId: 523587324
2023-04-11 20:49:35 -07:00
MediaPipe Team
a448790300
Internal change
...
PiperOrigin-RevId: 523351901
2023-04-11 03:23:24 -07:00
MediaPipe Team
02fed0b7d1
Cover the existing graph expansion behavior in regard to executors with unit tests.
...
PiperOrigin-RevId: 523192292
2023-04-10 13:07:51 -07:00
MediaPipe Team
6c523cd21f
Internal change
...
PiperOrigin-RevId: 522529789
2023-04-06 22:56:06 -07:00
MediaPipe Team
bae14a83b2
Internal change
...
PiperOrigin-RevId: 522524565
2023-04-06 22:13:38 -07:00
MediaPipe Team
4e5f20f212
Internal change
...
PiperOrigin-RevId: 522494903
2023-04-06 19:02:16 -07:00
MediaPipe Team
38f838513a
Enable defining and using internal executor within a subgraph
...
PiperOrigin-RevId: 522449982
2023-04-06 15:18:56 -07:00
MediaPipe Team
489d684699
Internal change
...
PiperOrigin-RevId: 522398388
2023-04-06 12:04:03 -07:00
MediaPipe Team
d05508cb7b
Internal change
...
PiperOrigin-RevId: 522260226
2023-04-06 00:00:50 -07:00
MediaPipe Team
56552dbfb5
Internal change
...
PiperOrigin-RevId: 522255364
2023-04-05 23:28:50 -07:00
Hadon Nash
7fe87936e5
Internal change
...
PiperOrigin-RevId: 522206591
2023-04-05 18:15:29 -07:00
MediaPipe Team
065d750781
Add VEC32F4 support to ImageFrame
...
PiperOrigin-RevId: 522153305
2023-04-05 14:25:17 -07:00
MediaPipe Team
46f9270788
Internal change
...
PiperOrigin-RevId: 521980958
2023-04-05 01:10:15 -07:00
MediaPipe Team
1990fe00d3
Internal change
...
PiperOrigin-RevId: 521949598
2023-04-04 21:35:10 -07:00
MediaPipe Team
65a98be809
Fixed comment and added note.
...
PiperOrigin-RevId: 521772542
2023-04-04 08:40:04 -07:00
MediaPipe Team
ec1d84aff7
Internal change
...
PiperOrigin-RevId: 521718577
2023-04-04 03:59:47 -07:00
Sebastian Schmidt
e84799ee37
Internal change
...
PiperOrigin-RevId: 521483663
2023-04-03 09:45:42 -07:00
MediaPipe Team
cfe91f3c8c
Internal change
...
PiperOrigin-RevId: 521424672
2023-04-03 04:46:59 -07:00
MediaPipe Team
b5bbed8ebb
Internal change
...
PiperOrigin-RevId: 521406957
2023-04-03 03:01:23 -07:00
MediaPipe Team
50a49fd16c
Internal change
...
PiperOrigin-RevId: 521226781
2023-04-01 22:29:07 -07:00
MediaPipe Team
4dcb9a2201
Internal change
...
PiperOrigin-RevId: 520875109
2023-03-31 03:06:43 -07:00
Sebastian Schmidt
df67b35348
Internal change
...
PiperOrigin-RevId: 520486540
2023-03-29 17:27:16 -07:00
Sebastian Schmidt
6be4aedcf7
Use mediapipe_proto_library for all MediaPipe Protos
...
PiperOrigin-RevId: 520451054
2023-03-29 15:00:59 -07:00
MediaPipe Team
0c8f691a36
Internal changes
...
PiperOrigin-RevId: 520411557
2023-03-29 12:35:20 -07:00
MediaPipe Team
53e4e92505
Support single channel golden images.
...
PiperOrigin-RevId: 519158051
2023-03-24 09:06:41 -07:00
MediaPipe Team
c26965c842
Internal change
...
PiperOrigin-RevId: 519150182
2023-03-24 08:34:11 -07:00
Hadon Nash
8a55f11952
Internal change
...
PiperOrigin-RevId: 519010016
2023-03-23 17:51:26 -07:00
MediaPipe Team
948e17f404
Internal change
...
PiperOrigin-RevId: 518906661
2023-03-23 10:57:43 -07:00
MediaPipe Team
18b4caa7f3
Internal change
...
PiperOrigin-RevId: 518559368
2023-03-22 07:14:18 -07:00
Jiuqiang Tang
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 Team
1a456dcbf9
Internal change
...
PiperOrigin-RevId: 517466009
2023-03-17 11:40:26 -07:00
MediaPipe Team
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 Nash
ade31b567b
Internal change
...
PiperOrigin-RevId: 516626371
2023-03-14 14:04:57 -07:00
MediaPipe Team
05b505c8e2
Introduce api to disable service default initialization.
...
PiperOrigin-RevId: 515501608
2023-03-09 18:57:39 -08:00
MediaPipe Team
5daf58009d
internal
...
PiperOrigin-RevId: 515392932
2023-03-09 11:27:11 -08:00
Hadon Nash
16c2e32a0d
Internal change
...
PiperOrigin-RevId: 515044500
2023-03-08 08:29:53 -08:00
Yuqi Li
46b5c4012d
add custom metadata in metadata_schema.
...
PiperOrigin-RevId: 514768756
2023-03-07 10:15:09 -08:00
MediaPipe Team
6c68d4c358
Internal change
...
PiperOrigin-RevId: 514421618
2023-03-06 08:42:19 -08:00
MediaPipe Team
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 Team
9c3abcd06f
Document graph service usage with docs and unit tests.
...
PiperOrigin-RevId: 513955877
2023-03-06 07:15:10 -08:00
MediaPipe Team
3854d9fcd5
Document proper way to set services.
...
PiperOrigin-RevId: 513955214
2023-03-06 07:13:54 -08:00
Hadon Nash
c9c1bf21ae
Internal change
...
PiperOrigin-RevId: 513854481
2023-03-03 10:00:10 -08:00
MediaPipe Team
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 Schmidt
06dd003113
Internal change
...
PiperOrigin-RevId: 512777889
2023-02-27 17:34:29 -08:00
MediaPipe Team
1575e7f79c
Internal change
...
PiperOrigin-RevId: 512457466
2023-02-27 11:11:24 -08:00
MediaPipe Team
3d4ed305bc
Make Tensor::Move() forward quantization parameters.
...
PiperOrigin-RevId: 509951145
2023-02-15 15:40:22 -08:00
MediaPipe Team
c66b7e83f0
ssd anchors calculator add fixed anchors.
...
PiperOrigin-RevId: 509574814
2023-02-14 10:43:23 -08:00
MediaPipe Team
513ab7abba
Internal change
...
PiperOrigin-RevId: 509338497
2023-02-13 14:47:34 -08:00
MediaPipe Team
2c82f67097
Add location info in registry (debug mode only)
...
PiperOrigin-RevId: 508786558
2023-02-10 16:58:44 -08:00
Hadon Nash
e719d2d423
Internal change
...
PiperOrigin-RevId: 508766449
2023-02-10 15:23:01 -08:00
Aden Grue
09ad961421
Internal change
...
PiperOrigin-RevId: 508701833
2023-02-10 10:54:55 -08:00
MediaPipe Team
1f848c4d69
Fix typo in CalculatorGraph error message
...
PiperOrigin-RevId: 508517972
2023-02-09 17:29:33 -08:00
MediaPipe Team
598d44a27d
Internal change
...
PiperOrigin-RevId: 508284935
2023-02-08 23:31:41 -08:00
MediaPipe Team
5a77339780
Internal change
...
PiperOrigin-RevId: 507495569
2023-02-06 09:05:12 -08:00
MediaPipe Team
4d8af4315f
Rollback: Add PacketSharingOwnership, a safer replacement for PointToForeign.
...
PiperOrigin-RevId: 507288476
2023-02-05 08:59:09 -08:00
MediaPipe Team
01834a5cdf
Internal change
...
PiperOrigin-RevId: 506982474
2023-02-03 13:39:02 -08:00
MediaPipe Team
3ee377f671
Internal change
...
PiperOrigin-RevId: 506312863
2023-02-01 07:42:20 -08:00
MediaPipe Team
b53acf6267
Internal change
...
PiperOrigin-RevId: 506059384
2023-01-31 11:20:13 -08:00
MediaPipe Team
591eb204a6
Internal change
...
PiperOrigin-RevId: 506027661
2023-01-31 09:36:56 -08:00
Sebastian Schmidt
c29ab7f083
Internal change
...
PiperOrigin-RevId: 504928797
2023-01-26 13:36:45 -08:00
MediaPipe Team
2547f07c77
Add FrameBuffer format.
...
PiperOrigin-RevId: 504838580
2023-01-26 07:40:52 -08:00
MediaPipe Team
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 Kruskal
9cde57d830
Internal change
...
PiperOrigin-RevId: 504341832
2023-01-24 12:14:02 -08:00
MediaPipe Team
2465e47b01
Stream/SidePacket == and != operators
...
PiperOrigin-RevId: 504114182
2023-01-23 16:43:23 -08:00
Nikolay Chirkov
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 Cozzette
7a7cc77a81
Internal change
...
PiperOrigin-RevId: 503157344
2023-01-19 07:20:04 -08:00
Hadon Nash
97af47ebf5
Internal change
...
PiperOrigin-RevId: 503035081
2023-01-18 18:53:42 -08:00