Skip to content

yywbxgl/onnx_helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

  • onnx model optimize optimizer
  • onnx model editor
    • Export onnx model config and weight,
    • Modity the model by config and weight
    • Create new model by config and weight
  • onnx model checker
    • Check if operation is supported
    • Produce visual results

Environment

pip3 install onnx
pip3 install graphviz

Example

cd example

# create model graph picture
python3  dot_test.py   alexnet.onnx

# optimize the onnx model
python3  optimizer_test.py  alexnet.onnx   alexnet_out

# export onnx model config and weight 
python3  export_onnx_model.py   OnnxModel   out_path

# create onnx model by config and weight
python3  create_onnx_model.py  config_file  weights_path

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages