-
Notifications
You must be signed in to change notification settings - Fork 1.4k
python -m pcdet.datasets.kitti.kitti_dataset create_kitti_infos tools/cfgs/dataset_configs/kitti_dataset.yaml ERROR #1426
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
Comments
It seems to be a problem with the kornia version, I replaced the version of it, and it works. |
May I ask if you are using the Kornia version number? I am currently using version 0.7.0 and an error has been reported. Thank you |
This might help you solve the problem. |
Thank you so much for sharing this! It solved my problem that haunted so long. Love you bro~ |
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. |
great! |
You are my God.!!!!!! |
|
when I follow the guidence to run python -m pcdet.datasets.kitti.kitti_dataset create_kitti_infos tools/cfgs/dataset_configs/kitti_dataset.yaml
I got this error:
Traceback (most recent call last):
File "/xxx/miniconda3/envs/torch10/lib/python3.9/runpy.py", line 188, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "/xxx/miniconda3/envs/torch10/lib/python3.9/runpy.py", line 111, in _get_module_details
import(pkg_name)
File "/xxx/OpenPCDet/pcdet/datasets/init.py", line 15, in
from .argo2.argo2_dataset import Argo2Dataset
File "/xxx/OpenPCDet/pcdet/datasets/argo2/argo2_dataset.py", line 15, in
from .argo2_utils.so3 import yaw_to_quat, quat_to_yaw
File "/xxx/OpenPCDet/pcdet/datasets/argo2/argo2_utils/so3.py", line 10, in
def quat_to_mat(quat_wxyz: Tensor) -> Tensor:
File "/xxx/miniconda3/envs/torch10/lib/python3.9/site-packages/torch/jit/_script.py", line 1310, in script
fn = torch._C._jit_script_compile(
File "/xxx/miniconda3/envs/torch10/lib/python3.9/site-packages/torch/jit/_recursive.py", line 838, in try_compile_fn
return torch.jit.script(fn, _rcb=rcb)
File "/xxx/miniconda3/envs/torch10/lib/python3.9/site-packages/torch/jit/_script.py", line 1310, in script
fn = torch._C._jit_script_compile(
RuntimeError:
cannot statically infer the expected size of a list in this context:
File "/xxx/miniconda3/envs/torch10/lib/python3.9/site-packages/kornia/geometry/conversions.py", line 553
'quaternion_to_rotation_matrix' is being compiled since it was called from 'quat_to_mat'
File "/xxx/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
)
how can I fix it? look forward your hlep.
The text was updated successfully, but these errors were encountered: