You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add image metadata to CoreML conversion
* Remove extra properties in data_types
* Add set_denotation
* Remove properties with same case insensitive name
* Add denotation automatically on images
* Check ONNX version before adding metadata
* Use StrictVersion for comparison
* Fix code style
* Move metadata and denotation to Topology/TensorType
* Change Topology default metadata_props value
* Match color_space with ONNX definitions
* Refactor case insensitive dictionaries
* Use warnings module
* Put valid metadata props in separate constant
* Avoid casefold() for compatibility with Python 2
* Don't guess the color space and nominal pixel range from CoreML
* Add tests to image metadata
* Don't set denotation in ONNX < 1.2.2
* Use unittest.skipIf instead of running empty test
* Add docstrings
* Add usage examples
* Forward tensor denotation when removing redundant variables
* Only check denotation in tensors
Validate metadata properties and possibly show warnings or throw exceptions.
17
+
18
+
:param metadata_props: A dictionary of metadata properties, with property names and values (see :func:`~onnxmltools.utils.metadata_props.add_metadata_props` for examples)
:param metadata_props: A dictionary of metadata properties, with property names and values (example: `{ 'model_author': 'Alice', 'model_license': 'MIT' }`)
0 commit comments