mediapipe-nightly 0.10.10.post20240222__cp310-cp310-macosx_11_0_universal2.whl → 0.10.11.post20240229__cp310-cp310-macosx_11_0_universal2.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (24) hide show
  1. mediapipe/__init__.py +1 -1
  2. mediapipe/python/__init__.py +1 -0
  3. mediapipe/python/_framework_bindings.cpython-310-darwin.so +0 -0
  4. mediapipe/python/solution_base.py +10 -1
  5. mediapipe/tasks/cc/genai/__init__.py +0 -0
  6. mediapipe/tasks/cc/genai/inference/__init__.py +0 -0
  7. mediapipe/tasks/cc/genai/inference/c/__init__.py +0 -0
  8. mediapipe/tasks/cc/genai/inference/proto/__init__.py +0 -0
  9. mediapipe/tasks/cc/genai/inference/proto/llm_params_pb2.py +30 -0
  10. mediapipe/tasks/cc/genai/inference/proto/transformer_params_pb2.py +41 -0
  11. mediapipe/tasks/cc/genai/inference/utils/__init__.py +0 -0
  12. mediapipe/tasks/cc/genai/inference/utils/llm_utils/__init__.py +0 -0
  13. mediapipe/tasks/cc/genai/inference/utils/xnn_utils/__init__.py +0 -0
  14. mediapipe/tasks/cc/metadata/python/_pywrap_metadata_version.cpython-310-darwin.so +0 -0
  15. mediapipe/tasks/metadata/schema_py_generated.py +4019 -119
  16. mediapipe/tasks/python/genai/converter/llm_converter.py +2 -2
  17. mediapipe/tasks/python/metadata/flatbuffers_lib/_pywrap_flatbuffers.cpython-310-darwin.so +0 -0
  18. mediapipe/tasks/python/vision/__init__.py +5 -0
  19. mediapipe/version.txt +1 -1
  20. {mediapipe_nightly-0.10.10.post20240222.dist-info → mediapipe_nightly-0.10.11.post20240229.dist-info}/METADATA +3 -1
  21. {mediapipe_nightly-0.10.10.post20240222.dist-info → mediapipe_nightly-0.10.11.post20240229.dist-info}/RECORD +23 -14
  22. {mediapipe_nightly-0.10.10.post20240222.dist-info → mediapipe_nightly-0.10.11.post20240229.dist-info}/LICENSE +0 -0
  23. {mediapipe_nightly-0.10.10.post20240222.dist-info → mediapipe_nightly-0.10.11.post20240229.dist-info}/WHEEL +0 -0
  24. {mediapipe_nightly-0.10.10.post20240222.dist-info → mediapipe_nightly-0.10.11.post20240229.dist-info}/top_level.txt +0 -0
@@ -5,9 +5,9 @@ from typing import List, Optional
5
5
 
6
6
  from absl import logging
7
7
 
8
+ from mediapipe.python._framework_bindings import model_ckpt_util
8
9
  from mediapipe.tasks.python.genai.converter import converter_base
9
10
  from mediapipe.tasks.python.genai.converter import converter_factory
10
- from mediapipe.tasks.python.genai.converter import model_ckpt_util
11
11
  from mediapipe.tasks.python.genai.converter import quantization_util
12
12
 
13
13
 
@@ -172,7 +172,7 @@ def convert_checkpoint(config: ConversionConfig) -> None:
172
172
  """Converts the checkpoint to tflite file."""
173
173
  logging.info('input folder: %s', config.input_ckpt)
174
174
 
175
- if config.model_type == 'GEMMA_2B' or config.model_type == 'GEMINI_XXS':
175
+ if config.model_type == 'GEMMA_2B':
176
176
  vocab_model_path = config.vocab_model_file
177
177
  else:
178
178
  vocab_model_path = convert_bpe_vocab(
@@ -21,6 +21,7 @@ import mediapipe.tasks.python.vision.face_landmarker
21
21
  import mediapipe.tasks.python.vision.face_stylizer
22
22
  import mediapipe.tasks.python.vision.gesture_recognizer
23
23
  import mediapipe.tasks.python.vision.hand_landmarker
24
+ import mediapipe.tasks.python.vision.holistic_landmarker
24
25
  import mediapipe.tasks.python.vision.image_classifier
25
26
  import mediapipe.tasks.python.vision.image_embedder
26
27
  import mediapipe.tasks.python.vision.image_segmenter
@@ -64,6 +65,10 @@ PoseLandmarker = pose_landmarker.PoseLandmarker
64
65
  PoseLandmarkerOptions = pose_landmarker.PoseLandmarkerOptions
65
66
  PoseLandmarkerResult = pose_landmarker.PoseLandmarkerResult
66
67
  PoseLandmarksConnections = pose_landmarker.PoseLandmarksConnections
68
+ HolisticLandmarker = holistic_landmarker.HolisticLandmarker
69
+ HolisticLandmarkerOptions = holistic_landmarker.HolisticLandmarkerOptions
70
+ HolisticLandmarkerResult = holistic_landmarker.HolisticLandmarkerResult
71
+
67
72
  RunningMode = core.vision_task_running_mode.VisionTaskRunningMode
68
73
 
69
74
  # Remove unnecessary modules to avoid duplication in API docs.
mediapipe/version.txt CHANGED
@@ -1 +1 @@
1
- 0.10.10-20240222
1
+ 0.10.11-20240229
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mediapipe-nightly
3
- Version: 0.10.10.post20240222
3
+ Version: 0.10.11.post20240229
4
4
  Summary: MediaPipe is the simplest way for researchers and developers to build world-class ML solutions and applications for mobile, edge, cloud and the web.
5
5
  Home-page: https://github.com/google/mediapipe
6
6
  Author: The MediaPipe Authors
@@ -31,8 +31,10 @@ Requires-Dist: absl-py
31
31
  Requires-Dist: attrs >=19.1.0
32
32
  Requires-Dist: flatbuffers >=2.0
33
33
  Requires-Dist: jax
34
+ Requires-Dist: jaxlib
34
35
  Requires-Dist: matplotlib
35
36
  Requires-Dist: numpy
37
+ Requires-Dist: torch
36
38
  Requires-Dist: opencv-contrib-python
37
39
  Requires-Dist: protobuf <4,>=3.11
38
40
  Requires-Dist: sounddevice >=0.4.4
@@ -1,9 +1,9 @@
1
- mediapipe_nightly-0.10.10.post20240222.dist-info/RECORD,,
2
- mediapipe_nightly-0.10.10.post20240222.dist-info/LICENSE,sha256=hwfu8FM5h-_FsVXWR2HutuIHk_ULm9Gmja0c9HGdDtg,12331
3
- mediapipe_nightly-0.10.10.post20240222.dist-info/WHEEL,sha256=M8b9ULkaMplgMtp3yPg8hIiqGMbYy3WJOJ_rS5NiMpg,111
4
- mediapipe_nightly-0.10.10.post20240222.dist-info/top_level.txt,sha256=LG-epD1oIiiHFRqLp--7jacjB3dbx2RfMcLYjCIhmxU,175
5
- mediapipe_nightly-0.10.10.post20240222.dist-info/METADATA,sha256=32IuxIGnRbKmTb6XVijrGFNetlc0e-DLsWLEqHjX-XA,9672
6
- mediapipe/__init__.py,sha256=uTa99CSg30uPHWpJZuHzDEBWRUynS1q04LKUWDIkRjU,816
1
+ mediapipe_nightly-0.10.11.post20240229.dist-info/RECORD,,
2
+ mediapipe_nightly-0.10.11.post20240229.dist-info/LICENSE,sha256=hwfu8FM5h-_FsVXWR2HutuIHk_ULm9Gmja0c9HGdDtg,12331
3
+ mediapipe_nightly-0.10.11.post20240229.dist-info/WHEEL,sha256=M8b9ULkaMplgMtp3yPg8hIiqGMbYy3WJOJ_rS5NiMpg,111
4
+ mediapipe_nightly-0.10.11.post20240229.dist-info/top_level.txt,sha256=LG-epD1oIiiHFRqLp--7jacjB3dbx2RfMcLYjCIhmxU,175
5
+ mediapipe_nightly-0.10.11.post20240229.dist-info/METADATA,sha256=mVKOmU0AUBURUF8aitILPHtfJJPoRQCLwEjdGIxgblo,9715
6
+ mediapipe/__init__.py,sha256=uD2CEVVQi-hptb06sbOTXh9r4C7k45RGdhsB2VOzg4M,816
7
7
  mediapipe/tasks/__init__.py,sha256=sVJS2p8J2PNVl8DLRPVY6KLpHenP_z3QVPRU0x_iL5g,571
8
8
  mediapipe/tasks/python/__init__.py,sha256=wIM_WOWboOVI1MeehN8fkN_DjoA0MEBVw5mShAd8AS4,858
9
9
  mediapipe/tasks/python/benchmark/__init__.py,sha256=epEucluzX0HinwBZoS7Tgb19j_qgfTuBf-vBkqemch8,587
@@ -44,7 +44,7 @@ mediapipe/tasks/python/vision/pose_landmarker.py,sha256=6QCKc7NDoNSqhasXBpXbuVUu
44
44
  mediapipe/tasks/python/vision/object_detector.py,sha256=i2i0Th055dlbZMSHVIb_dpzcDtv4VLnWmK-I3Mkmgas,16341
45
45
  mediapipe/tasks/python/vision/face_landmarker.py,sha256=dmh4mJT3DnB07PHWB2p7fqe2x0AgJ2b8Za-bK1B5GV4,94096
46
46
  mediapipe/tasks/python/vision/gesture_recognizer.py,sha256=8c7bGWhCaZ6wuMu0Z34OPsuKn_3He1S12m8NMfCgjns,19258
47
- mediapipe/tasks/python/vision/__init__.py,sha256=JrXO2x3LuoKA4O7HrRpF5e-7hMaGn43F2DTHFxc2AJo,3796
47
+ mediapipe/tasks/python/vision/__init__.py,sha256=FtCw28L6YYudeTwohq8WOYLvDGBP74uRRWgxpWLvGiU,4060
48
48
  mediapipe/tasks/python/vision/face_stylizer.py,sha256=ToAhk1GZYX7xvxeGtI_a-yhlWlVsey_8CZWjNW9vltA,5761
49
49
  mediapipe/tasks/python/vision/holistic_landmarker.py,sha256=ES4AefmYfebHDPB0_TB7PaW6AYgzfAI-vCbt2BucSHs,23559
50
50
  mediapipe/tasks/python/vision/hand_landmarker.py,sha256=1FgMzcN7HBJylK1cflk4h9rr7_GQ9AH2s7AlDLGMqaQ,18243
@@ -95,13 +95,13 @@ mediapipe/tasks/python/genai/converter/converter_base.py,sha256=nRIhPYUg2pkUZcmw
95
95
  mediapipe/tasks/python/genai/converter/pytorch_converter.py,sha256=RiuCr2aXbZVn3Ssa3OcSx_RQK56rfZRCpvG7qYIji4w,10675
96
96
  mediapipe/tasks/python/genai/converter/__init__.py,sha256=jfUkinDJR5BVldnbJMbo5vIr2Xc5Z4TTnaCJTNoAUvg,893
97
97
  mediapipe/tasks/python/genai/converter/converter_factory.py,sha256=2K16PZBQym0WhXM2HOdBMHMugykohoD4OTaOIo-UKko,2928
98
- mediapipe/tasks/python/genai/converter/llm_converter.py,sha256=srOhUwscJ6p4kICoi7bBdvkes5RvVfuHoUzh1HRsU6k,7827
98
+ mediapipe/tasks/python/genai/converter/llm_converter.py,sha256=AFX75Eay438uKNEt0N5rYyNB9FXQ3Sr-7GnuJvGryvM,7788
99
99
  mediapipe/tasks/python/genai/converter/quantization_util_test.py,sha256=ICujhTFeREGuHGmNk1PlBpf1AUThFvv-Wl5UuZ-xWAk,9060
100
100
  mediapipe/tasks/python/genai/converter/weight_bins_writer.py,sha256=qrsjTWw99u-VDNhtHbnbDfMypx4sGfGyY8mMBXYnQtA,4347
101
101
  mediapipe/tasks/python/metadata/metadata.py,sha256=EECQnM-Af0angD60jaBBOuNMgt7HExH6SqVtVMFNHGc,33763
102
102
  mediapipe/tasks/python/metadata/metadata_displayer_cli.py,sha256=tLhF0B1mXG0igFTA9nPh8t1efRpRw2hQ00XpTPYdk_o,1202
103
103
  mediapipe/tasks/python/metadata/__init__.py,sha256=YGHXQMz1ZGPcNgSXggu03b0USZKE8d9Xqvn6NDUl898,586
104
- mediapipe/tasks/python/metadata/flatbuffers_lib/_pywrap_flatbuffers.cpython-310-darwin.so,sha256=gNH2LIMUYQiHFWGcXw0VzlOnsb9LsdwwmNYNW4Y_IrM,1630883
104
+ mediapipe/tasks/python/metadata/flatbuffers_lib/_pywrap_flatbuffers.cpython-310-darwin.so,sha256=akdOgGaxTO9qQYyywtePPoiGoqOb78t0qw7RAppSlv0,1630579
105
105
  mediapipe/tasks/python/metadata/metadata_writers/image_classifier.py,sha256=fU4Xu4bm0fak8h7yjVAAQBIHpEH18ZEiXUSc-2dHgvk,3023
106
106
  mediapipe/tasks/python/metadata/metadata_writers/object_detector.py,sha256=IzKqY1S0p2RQ_Vd0nF08y16dHYLa-2HwB4zmuWmixVw,12970
107
107
  mediapipe/tasks/python/metadata/metadata_writers/model_asset_bundle_utils.py,sha256=HMUhrYzAJ0lQCAfKDOTQ82_EGDJfVS-ECVdZfFQGDM4,2622
@@ -254,12 +254,21 @@ mediapipe/tasks/cc/text/text_classifier/proto/text_classifier_graph_options_pb2.
254
254
  mediapipe/tasks/cc/text/text_embedder/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
255
255
  mediapipe/tasks/cc/text/text_embedder/proto/text_embedder_graph_options_pb2.py,sha256=GU8P5cKtX2tkY-wdZGdYSQ5whRhWhPgEYTmQexXge14,2913
256
256
  mediapipe/tasks/cc/text/text_embedder/proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
257
+ mediapipe/tasks/cc/genai/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
258
+ mediapipe/tasks/cc/genai/inference/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
259
+ mediapipe/tasks/cc/genai/inference/proto/llm_params_pb2.py,sha256=zGZQREcWs5jzbMipVcGmXOrJFMeq5lgQNcA_U1XkOoE,2311
260
+ mediapipe/tasks/cc/genai/inference/proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
261
+ mediapipe/tasks/cc/genai/inference/proto/transformer_params_pb2.py,sha256=-KHfCIuevXnBJusJ2o3_jaf4GHSq0no-o1BhR2jRPTk,5080
262
+ mediapipe/tasks/cc/genai/inference/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
263
+ mediapipe/tasks/cc/genai/inference/utils/llm_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
264
+ mediapipe/tasks/cc/genai/inference/utils/xnn_utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
265
+ mediapipe/tasks/cc/genai/inference/c/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
257
266
  mediapipe/tasks/cc/metadata/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
258
267
  mediapipe/tasks/cc/metadata/python/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
259
- mediapipe/tasks/cc/metadata/python/_pywrap_metadata_version.cpython-310-darwin.so,sha256=1his-m6ak-jSIKC8bJN1_uagZQ0rzoXzntcx5-vuLmg,659128
268
+ mediapipe/tasks/cc/metadata/python/_pywrap_metadata_version.cpython-310-darwin.so,sha256=rted8qHSgXGcrJmGy2UPAJSfvPXU6DAgZ0tYF3B0jK0,659112
260
269
  mediapipe/tasks/cc/metadata/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
261
270
  mediapipe/tasks/cc/metadata/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
262
- mediapipe/tasks/metadata/schema_py_generated.py,sha256=HUaA9k-IRmTMuYAitOPax4b9MDchA9lTsY4sUZgS4ns,467363
271
+ mediapipe/tasks/metadata/schema_py_generated.py,sha256=6Fhj9cDU3nbALhoDlOx0S5KA5Yf_xIlcSLigKDFPSm4,629922
263
272
  mediapipe/tasks/metadata/object_detector_metadata_schema_py_generated.py,sha256=9qV0Q23rGRKj3NTZuJw23fkNRmsAkC9-WgOZb5b-OZw,24287
264
273
  mediapipe/tasks/metadata/object_detector_metadata_schema.fbs,sha256=LMhxmCbeYhKjHTZ8bScENy4uoKK_pswxcnp2Y_bITiI,3507
265
274
  mediapipe/tasks/metadata/metadata_schema.fbs,sha256=VPDMmah9VgRbwyrRd79dAqKYNkFkk8qz6YoGBXtgeXs,28030
@@ -305,11 +314,11 @@ mediapipe/util/sequence/media_sequence_util_test.py,sha256=nuN9-HW3kw2kZbraCH76q
305
314
  mediapipe/util/analytics/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
306
315
  mediapipe/util/analytics/mediapipe_log_extension_pb2.py,sha256=UX1x8jckc8NQbUz-SXOKkb8co3JNIRX3rfaMs4_Dz8g,4319
307
316
  mediapipe/util/analytics/mediapipe_logging_enums_pb2.py,sha256=9pxs-DNSQnXQe7E_LKokGDbD_G1FpmzzJw1jzex78lU,3781
308
- mediapipe/python/solution_base.py,sha256=48PszV6dCssQUkyPBaqhqVehVjPtskawtGUc54k10DM,25624
309
- mediapipe/python/_framework_bindings.cpython-310-darwin.so,sha256=ExhUiSH2ac-IeDy3npL960Sfq6sJW5zdELdwwHE-RDI,78071347
317
+ mediapipe/python/solution_base.py,sha256=nEIqsho9DlutfvWWzdSxCOpJ2QzN7n2938WLDmFzn38,26072
318
+ mediapipe/python/_framework_bindings.cpython-310-darwin.so,sha256=5joasnFJzYxTYMb34dunwSYXE7y1Bx4OxlTTrWjBcAI,78943555
310
319
  mediapipe/python/timestamp_test.py,sha256=oWKTZMsV586jH57OBV30rihcymETyGC29VbYURNLJQQ,2528
311
320
  mediapipe/python/image_frame_test.py,sha256=ZSjdE-an2t8i6MiA4_Xri91VMH5_CCx45fjhWUQptMY,8602
312
- mediapipe/python/__init__.py,sha256=xTuq4e55ofMUGUpV81ZbVzYHmjMmzt9dBOfS4ugFN1c,1428
321
+ mediapipe/python/__init__.py,sha256=BQglgytZUe7_ZuD8amosz-szWdJ2LQp81nsuiEY3W84,1493
313
322
  mediapipe/python/solution_base_test.py,sha256=1u5Lo4aEUrMKj8Ha_34XMyKnI-3A1AvpaX3MCI0b2MM,15632
314
323
  mediapipe/python/packet_creator.py,sha256=34MBIMwykbZSLV-gdVYTzK8R07yzWV5yg1HuyRbS4d0,11414
315
324
  mediapipe/python/packet_getter.py,sha256=QkBxKCjXrOC6j2dJ5zcVNGaPB6zjurKztQpW5kOYLj4,4205