-
Notifications
You must be signed in to change notification settings - Fork 709
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
🐞 ONNX Export for Reverse Distillation and RKDE fails #1513
Comments
This seems to be a problem with kornia filter. I've read issue pytorch/pytorch#85464 and onnx/onnx#4580, it seems that it has something to do with shape propagation. But I also came across pytorch/pytorch#98497 where they say that kernel size should be known exactly, but kornia does this: kernel: torch.Tensor = get_gaussian_kernel2d(kernel_size, sigma)
out = filter2d(input, kernel[None], border_type) which might be problematic. |
Hi, I would like to resolve this issue. Can you assign it to me? |
Hi @Ashutosh-Gera, thanks for the interest, you can handle this. |
Hi everybody, I have the same issue with Reverse Distillation Thanks |
Upgrading kornia to 0.7.2 doesn't solve the issue but moves it to another function:
|
Describe the bug
ONNX export fails with error
Dataset
N/A
Model
N/A
Steps to reproduce the behavior
Un-skip the
ReverseDistillation
test inexport
and runtests/integration/model/test_models.py
OS information
OS information:
Expected behavior
Should export successfully.
Screenshots
No response
Pip/GitHub
GitHub
What version/branch did you use?
v1
Configuration YAML
NA
Logs
Code of Conduct
The text was updated successfully, but these errors were encountered: