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
Thank you guys for making this code available to the public. I running demo code and I always get error I would be glad if someone could help out return C.quaternion_to_rotation_matrix(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
quat_wxyz, order=C.QuaternionCoeffOrder.WXYZ
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <--- HERE
)
Thank you for your engagement with OpenPCDet and for bringing this issue to light.
The error you're encountering is indeed related to a change in the kornia library. Specifically, QuaternionCoeffOrder has been deprecated and removed in versions 0.7.0 and above, as detailed in kornia issue #2599. This alteration is likely the root cause of the error you're experiencing.
🛠 Solution:
You might consider downgrading kornia to a version that still includes QuaternionCoeffOrder. Version 0.6.1 is one such version that you might utilize:
pip install kornia==0.6.1
🔄 Alternative Approach:
Alternatively, if downgrading is not a preferred option, you might consider modifying the code to be compatible with the latest version of kornia. This would involve adjusting the function calls that utilize QuaternionCoeffOrder to align with the new API.
📝 Note:
Ensuring that your environment aligns with the project’s requirements is pivotal to avoid such issues. The requirements.txt or environment.yml file in the project repository might specify the versions of dependencies that the project has been tested with, providing a stable environment for execution.
I faced the same problem when running the codes in Colab.
As mentioned by Qu0rise, you might need to consider downgrading kornia
In my case: pip install kornia==0.5.8
Activity
Qu0rise commentedon Oct 5, 2023
Hello @Agbeli,
Thank you for your engagement with OpenPCDet and for bringing this issue to light.
The error you're encountering is indeed related to a change in the
kornialibrary. Specifically,QuaternionCoeffOrderhas been deprecated and removed in versions 0.7.0 and above, as detailed in kornia issue #2599. This alteration is likely the root cause of the error you're experiencing.🛠 Solution:
You might consider downgrading
korniato a version that still includesQuaternionCoeffOrder. Version 0.6.1 is one such version that you might utilize:🔄 Alternative Approach:
Alternatively, if downgrading is not a preferred option, you might consider modifying the code to be compatible with the latest version of
kornia. This would involve adjusting the function calls that utilizeQuaternionCoeffOrderto align with the new API.📝 Note:
Ensuring that your environment aligns with the project’s requirements is pivotal to avoid such issues. The
requirements.txtorenvironment.ymlfile in the project repository might specify the versions of dependencies that the project has been tested with, providing a stable environment for execution.yjwong1999 commentedon Oct 9, 2023
Hi @Agbeli
I faced the same problem when running the codes in Colab.
As mentioned by Qu0rise, you might need to consider downgrading
korniaIn my case:
pip install kornia==0.5.8Agbeli commentedon Oct 10, 2023
Thank you guys
github-actions commentedon Nov 10, 2023
This issue is stale because it has been open for 30 days with no activity.
github-actions commentedon Nov 24, 2023
This issue was closed because it has been inactive for 14 days since being marked as stale.