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

Support ONNX? #89

Open
sebeaumont opened this issue May 11, 2019 · 3 comments
Open

Support ONNX? #89

sebeaumont opened this issue May 11, 2019 · 3 comments

Comments

@sebeaumont
Copy link

Any idea if this would be a feasible thing to do? Nice idea to specify, train and verify models in Haskell then export for runtime in embedded environment, mobile or wherever.

@erikd
Copy link
Collaborator

erikd commented May 11, 2019

Probably possible, but if you would like this feature, the best idea is to implement it yourself and summit it as a contribution.

@sebeaumont
Copy link
Author

Ok I’ll take a look at it.

@sebeaumont
Copy link
Author

Ok seems fairly straightforward from the ONNX end. They use protocol-buffers to specify the format of the graph and parameters - the semantics can be extracted from the documentation and examples for other environments. It probably makes sense to provide an Haskell onnx library and then use that in due course but in the meantime I'll flesh out the details herein. I'd like to do a quick end to end PoC first. I already did some work mapping hmatrix arrays to mm files but this would be much more useful since I'm looking at targeting TensorRT on CUDA kit.

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

No branches or pull requests

2 participants