-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error when launching demo.py #1487
Comments
change the kornia version down to 0.6.5 may work |
Hi @IrumaMegumi |
can you help to solve my isusse submited todayFrom Thiesy〽️在 2023年10月16日,17:53,Wong Yi Jie ***@***.***> 写道:
Hi @IrumaMegumi
As mentioned by thiesymon, you need to downgrade your kornia version.
For my case, I need to downgrade to pip install kornia==0.5.8 for it to work,
Issue 1470: Colab results #1470
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Thanks. Version 0.5.8 works! |
This issue is stale because it has been open for 30 days with no activity. |
This issue was closed because it has been inactive for 14 days since being marked as stale. |
Missing packages for dataset generation. Kornia version fixed according to this issue: open-mmlab#1487
When I run demo.py, an error occurred as follows:
Traceback (most recent call last):
File "/media/iruma/Data/AIR/radar/OpenPCDet/test/demo.py", line 18, in
from pcdet.datasets import DatasetTemplate
File "/home/iruma/OpenPCDet/pcdet/datasets/init.py", line 15, in
from .argo2.argo2_dataset import Argo2Dataset
File "/home/iruma/OpenPCDet/pcdet/datasets/argo2/argo2_dataset.py", line 15, in
from .argo2_utils.so3 import yaw_to_quat, quat_to_yaw
File "/home/iruma/OpenPCDet/pcdet/datasets/argo2/argo2_utils/so3.py", line 10, in
def quat_to_mat(quat_wxyz: Tensor) -> Tensor:
File "/usr/local/lib/python3.10/dist-packages/torch/jit/_script.py", line 1381, in script
fn = torch._C._jit_script_compile(
File "/usr/local/lib/python3.10/dist-packages/torch/jit/_recursive.py", line 1010, in try_compile_fn
return torch.jit.script(fn, _rcb=rcb)
File "/usr/local/lib/python3.10/dist-packages/torch/jit/_script.py", line 1381, in script
fn = torch._C._jit_script_compile(
RuntimeError:
cannot statically infer the expected size of a list in this context:
File "/usr/local/lib/python3.10/dist-packages/kornia/geometry/conversions.py", line 553
'quaternion_to_rotation_matrix' is being compiled since it was called from 'quat_to_mat'
File "/home/iruma/OpenPCDet/pcdet/datasets/argo2/argo2_utils/so3.py", line 19
(...,3,3) 3D rotation matrices.
"""
return C.quaternion_to_rotation_matrix(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quat_wxyz, order=C.QuaternionCoeffOrder.WXYZ
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
)
It seems that there is something wrong in module kornia. How to solve it?
The text was updated successfully, but these errors were encountered: