You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
how to export to onnx/openvino AFTER training? #856
Activity
samet-akcay commentedon Jan 23, 2023
Hi @betogulliver,
If you set the
export_modein config.yaml` file:When enabled, anomalib runs
ExportCallbackat the end of the training, as shown below:https://github.com/openvinotoolkit/anomalib/blob/8a6c6ea115ad2c460a9beaee85736d1180eaa996/anomalib/utils/callbacks/export.py#L37-L50
anomalib basically uses
exportfunction to export it to onnx or openvino. You could utilize this function for your specific need.https://github.com/openvinotoolkit/anomalib/blob/8a6c6ea115ad2c460a9beaee85736d1180eaa996/anomalib/deploy/export.py#L52-L81
samet-akcay commentedon Jan 23, 2023
I'm converting this to a Q&A in discussions, so let's continue there.