onnx / tutorials

Tutorials for creating and using ONNX models
Apache License 2.0
3.39k stars 629 forks source link

Hi, I want to ask if there are some tutorials to tell the structure of ONNX format. #221

Open dxu23nc opened 3 years ago

dxu23nc commented 3 years ago

I have a project, which needs to know how the ONNX store the model and get the parameters of each layer. Could anyone can give me a link that has the content I need?

Thanks in advance.

wenbingl commented 3 years ago

If you are familiar with Protobuf, take a look at https://github.com/onnx/onnx/blob/e5e9a539f550f07ec156812484e8d4f33fb91f88/onnx/onnx.proto3#L335