Skip to main content

caffe2onnx

This tool converts Caffe models to ONNX via command line (without Caffe environment).

Installation

Install from pypi

pip install caffe2onnx

Install latest from github

pip install git+https://github.com/asiryan/caffe2onnx

Build and install latest from source

git clone https://github.com/asiryan/caffe2onnx
python setup.py install

Usage

To get started with caffe2onnx, run the caffe2onnx.convert command, providing:

  • the path to your caffe prototxt,
  • the path to your caffe model (not required),
  • the output path of the onnx model (not required),
  • frozen graph or not (not required).
python -m caffe2onnx.convert
    --prototxt          caffe prototxt file path
    [--caffemodel       caffe caffemodel file path]
    [--onnx             output onnx file path]
    [--frozen           frozen graph or not]

Operators

See the documentation of caffe supported operators.

References

caffe-onnx by htshinichi
TNN by Tencent

License

BSD-3

Metadata

Release files for caffe2onnx 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for caffe2onnx 2.0.1
File Size Uploaded Provenance Actions
caffe2onnx-2.0.1.tar.gz 49.9 kB Without provenance Details for caffe2onnx-2.0.1.tar.gz

Release files / caffe2onnx-2.0.1.tar.gz

Download URL caffe2onnx-2.0.1.tar.gz
Size 49.9 kB
Tags Source
SHA-256 checksum
How to use checksums
8b4d1ac62469462ca9122a97f56a37dd9c1f882295116259d676f44e17707f7a
BLAKE2b-256 checksum
How to use checksums
0960f4604977d4de8178a4d8577dfdd5d179742c02297a0bd9602698150dfb38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.0 pkginfo/1.7.0 requests/2.18.4 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.8

Security for caffe2onnx 2.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page