Converts a JSON file to an ONNX file.
Project description
json2onnx
Converts a JSON file to an ONNX file.
1. Install
$ pip install protobuf onnx
$ pip install json2onnx --upgrade
2. Usage
json2onnx [-h] \
--json_path JSON_PATH \
[--model_path MODEL_PATH]
optional arguments:
-h, --help
show this help message and exit
--json_path JSON_PATH
Input JSON file path (*.json)
--model_path MODEL_PATH
Output ONNX model path (*.onnx)
3. Sample
$ json2onnx --json_path aaa.json --model_path aaa.onnx
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
json2onnx-1.0.0.tar.gz
(2.7 kB
view hashes)
Built Distribution
Close
Hashes for json2onnx-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c16bab6e80b89328f34405bf1f0d453cd205fd5918b378c1de4bfc93b2abb91 |
|
MD5 | 06778ed92d41ed415b91d23d7db0d954 |
|
BLAKE2b-256 | dd8166e3cf0e673758fa5142567eb5f064705eff47d57de47d3e20b4281c099a |