caffe2onnx-2.0.1
توضیحات
Convert Caffe models to ONNX.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | caffe2onnx-2.0.1 |
| نام | caffe2onnx |
| نسخه کتابخانه | 2.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Valery Asiryan |
| ایمیل نویسنده | dmc5mod@yandex.ru |
| آدرس صفحه اصلی | https://github.com/asiryan/caffe-onnx |
| آدرس اینترنتی | https://pypi.org/project/caffe2onnx/ |
| مجوز | BSD-3 |
# 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](https://github.com/FaceONNX/caffe2onnx/blob/main/docs/caffe-operators.md).
## References
caffe-onnx by [htshinichi](https://github.com/htshinichi/caffe-onnx)
TNN by [Tencent](https://github.com/Tencent/TNN)
## License
[BSD-3](https://github.com/asiryan/caffe2onnx/blob/main/LICENSE)
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.5 | Python |
نحوه نصب
نصب پکیج whl caffe2onnx-2.0.1:
pip install caffe2onnx-2.0.1.whl
نصب پکیج tar.gz caffe2onnx-2.0.1:
pip install caffe2onnx-2.0.1.tar.gz