Skip to main content

No project description provided

Project description

PyDLmeta

Features: identify the model type belong to which deep learning framework and extract the meta data if possible. The meta data includes input/output name and shape of the model.

The supported formats are:

  • Tensorflow: frozen model *.pb, *.h5, SavedModel directory, *.tflite

  • Pytorch: *.pt, TorchScript

  • ONNX: *.onnx

  • Caffe model directory: *.caffemodel/ *.prototxt

  • Openvino IR directory: *.xml/ *.bin

Installation

  • Create a Python 3.8 environment and activate it.
git clone --depth 1 -b develop --recursive https://github.com/skymizer/pydlmeta.git
(cd pydlmeta && python3 -m pip install -e .)

Usage

— Retrieve the metadata of the model

from pydlmeta.meta import retrieve_model_metadata
res = retrieve_model_metadata("/path/to/your/model")
  • Identify model format
from pydlmeta.identifier.model import identify
model_format = identify(model_path)

Project details


Download files

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

Source Distribution

pydlmeta-1.0.3.tar.gz (10.4 kB view details)

Uploaded Source

Built Distribution

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

pydlmeta-1.0.3-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file pydlmeta-1.0.3.tar.gz.

File metadata

  • Download URL: pydlmeta-1.0.3.tar.gz
  • Upload date:
  • Size: 10.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for pydlmeta-1.0.3.tar.gz
Algorithm Hash digest
SHA256 5f71de879d96f19721848b11a65c9d1be025a7437d9331120b749d421a6bbbda
MD5 8ab0dfc6f2e41c67892ab82057c0a0e2
BLAKE2b-256 92287bdb02479f258dc077a84529de71f9c6408b6b04fcd7f3e2a7c5a1e54a24

See more details on using hashes here.

File details

Details for the file pydlmeta-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: pydlmeta-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.16

File hashes

Hashes for pydlmeta-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e36a4b15df1e5de9b12808e26ca0eba51ec0ea70b70040c034035fe9e2be9481
MD5 a5ddf815024ad61c62dd2d7051469e97
BLAKE2b-256 8bcaa86333a69271ffbb270d9e5428d3717a4c7f827db0277fc29f516f6f95c5

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