-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Model Repository] Export as ONNX #190
Comments
@aslotte what did you have in mind for this? |
@Brett-Parker Thank you for creating this issue! Jon did a great video on the topic actually https://www.youtube.com/watch?v=Yf7VXj1etdw and here's the official doc's https://docs.microsoft.com/en-us/dotnet/api/microsoft.ml.onnxexportextensions.converttoonnx?view=ml-dotnet-preview We can solve this in many ways, e.g. always converting each uploaded model to ONNX and store for future use, or convert to ONNX when the user requests a model to be exported as ONNX. It will be a lot easier to do it for each uploaded model and store it, so that's what I want to go with :) The user would need to also pass in the IDataView in the upload method. |
@aslotte I'm interested in picking this issue up 👍 I'm leaning towards letting the user request the model being exported to ONNX over converting each model to ONNX, but I'm interested to hear if you've had time to think further on this issue and hear what your thoughts are before diving in 😊 |
We would welcome you to the team of contributors with open arms @willvelida! 😄 I agree, the more I've thought about it, the more I think we shouldn't convert each model to ONNX upon upload, especially since not all transformers are able to do so yet. I would love to hear your thoughts on this. One option we can do is to make We can:
There may be more details than that that need to be changed, but as such a user can decide themselves if the want to upload the ML.NET model or just the ONNX model directly (or both). I think that would make for a more re-usable approach and as such we can then in the future use (Side note: we still need the uploaded model to have the name of |
I like adding a property to |
@willvelida do you want me to assign this issue to do? |
@aslotte sure! 😊 |
Awesome! I assigned the issue to you and also sent you a collaborator invitation for the repo so you can assign issues yourself in the future as well as review and merged reviewed PR's 😄 |
@willvelida I added the hacktoberfest label to this issue in case someone would like to have a go at it :) |
Is your feature request related to a problem? Please describe.
Roadmap
Describe the solution you'd like
Have the ability to store standard .zip model and ONNX model.
Additional context
Export/import as ONNX is possible with ML.NET. https://docs.microsoft.com/en-us/dotnet/api/microsoft.ml.onnxexportextensions.converttoonnx?view=ml-dotnet-preview
The text was updated successfully, but these errors were encountered: