Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added WpfApplicationSample_OnnxViewer #347

Merged
merged 1 commit into from
Apr 25, 2023
Merged

Conversation

beru
Copy link
Contributor

@beru beru commented Apr 24, 2023

Hi, this MR adds another sample project named WpfApplicationSample_OnnxViewer.

Onnx.cs file was created with Protocol Buffers compiler (link) and ONNX spec file (link).

Google.Protobuf also needs to be installed to build the project.

After dropping an onnx file into the application window, its graph contents will be displayed like the following using MSAGL.

image

@beru beru changed the title add WpfApplicationSample_OnnxViewer Added WpfApplicationSample_OnnxViewer Apr 24, 2023
@levnach levnach merged commit cdb3276 into microsoft:master Apr 25, 2023
@levnach
Copy link
Contributor

levnach commented Apr 25, 2023

When I run the example, I see an empty window. Can you please provide a file/graph that can be dropped to the window?

@beru
Copy link
Contributor Author

beru commented Apr 25, 2023

I downloaded yolov5n.onnx file from here . The link was mentioned in lutzroeder/netron#864 (comment)

Other onnx files can also be downloaded from https://github.com/onnx/models

@beru beru deleted the onnx_viewer branch April 25, 2023 03:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants