-
Notifications
You must be signed in to change notification settings - Fork 599
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
Patchcore & Fastflow onnx/ov export fails #631
Comments
@pmudgal-Intel can you have a look at this issue #440? You need to either upgrade torch to |
@ashwinvaidya17, should we consider replacing |
Since this is a recurring question I think it makes sense to replace the function. We can explore the performance difference first. |
Patchcore works fine with torch 1.12, but fastflow still shows same error during export. |
With the latest anomalib version, PatchCore and FastFlow models can be converted to ONNX and OpenVINO models. I'm now closing this issue. Thanks! |
Describe the bug
Training patchcore or fastflow model fails if export is configured as "Openvino"
python tools/train.py --config anomalib/models/patchcore/config.yaml
In anomalib/models/patchcore/config.yaml file, change export option as "openvino"
Screenshot is attached showing the error. Seems like model is getting trained, but fails to export as onnx.
torch version - 1.11.0+cu102
Screenshots
Hardware and Software Configuration
The text was updated successfully, but these errors were encountered: