-
Notifications
You must be signed in to change notification settings - Fork 1.2k
OnnxExporter #3761
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
OnnxExporter #3761
Conversation
Unit Test Results 6 files ±0 6 suites ±0 27m 29s ⏱️ - 2m 54s For more details on these failures, see this check. Results for commit 180cad7. ± Comparison against base commit dc3ec73. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job!
Hi @skanjila, it looks like there's a couple of pre-commit issues to resolve: https://results.pre-commit.ci/run/github/163346054/1699499452.zgxnE5vuTJujO_3rx1xLkQ |
return self.model({"image_path": x})< 8000 /span> | ||
|
||
|
||
class BaseModelExporter(ABC): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we add docstrings to these new classes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added
ludwig/model_export/onnx_exporter.py
Outdated
from ludwig.model_export.base_model_exporter import LudwigTorchWrapper | ||
|
||
|
||
class OnnxExporter(ABC): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you mean to inherit from BaseModelExporter
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes I did, just forgot to put that in so added this just now
Code Pull Requests
Please provide the following:
Documentation Pull Requests
Note that the documentation HTML files are in
docs/
while the Markdown sources are inmkdocs/docs
.If you are proposing a modification to the documentation you should change only the Markdown files.
api.md
is automatically generated from the docstrings in the code, so if you want to change something in that file, first modifyludwig/api.py
docstring, then runmkdocs/code_docs_autogen.py
, which will createmkdocs/docs/api.md
.