Skip to main content

Edge MDT Custom Layers package

Project description

Edge MDT Custom Layers (EdgeMDT CL)

Edge MDT Custom Layers (EdgeMDT CL) is an open-source project implementing detection post process NN layers not supported by the TensorFlow Keras API or Torch's torch.nn for the easy integration of those layers into pretrained models.

Table of Contents

Getting Started

This section provides an installation and a quick starting guide.

Installation

To install the latest stable release of SCL, run the following command:

pip install edge-mdt-cl

By default, no framework dependencies are installed. To install SCL including the latest tested dependencies (up to patch version) for TensorFlow:

pip install edge-mdt-cl[tf]

To install SCL including the latest tested dependencies (up to patch version) for PyTorch/ONNX/OnnxRuntime:

pip install edge-mdt-cl[torch]

Supported Versions

TensorFlow

Tested FW versions Tested Python version Serialization
2.14 3.10-3.11 .keras
2.15 3.10-3.11 .keras

PyTorch

Tested FW versions Tested Python version Serialization
torch 2.3-2.6
torchvision 0.18-0.21
onnxruntime 1.15-1.21
onnxruntime_extensions 0.8-0.13
onnx 1.14-1.17
3.10-3.12 .onnx (via torch.onnx.export)

API

For edge-mdt-cl API see https://sonysemiconductorsolutions.github.io/aitrios-edge-mdt-cl

TensorFlow API

For TensorFlow layers see KerasAPI

To load a model with custom layers in TensorFlow, see custom_layers_scope

PyTorch API

For PyTorch layers see PyTorchAPI

No special handling is required for torch.onnx.export and onnx.load.

For OnnxRuntime support see load_custom_ops

License

Apache License 2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

edge_mdt_cl-1.1.0-py3-none-any.whl (45.1 kB view details)

Uploaded Python 3

File details

Details for the file edge_mdt_cl-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: edge_mdt_cl-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 45.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for edge_mdt_cl-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e37e6d1c662bfe2fa3581efdc28b9b66f1a72d757c1d1a8ba5feb2ed9c7273d
MD5 0c8566e114060e06fa2f467c55c04c24
BLAKE2b-256 157ff19a2716ad3fc5a6d24a430f45e34946bd150f8f6fb0f02ab69d4a45eda0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page