Skip to content

Colab results  #1470

Closed
Closed

Description

@Agbeli

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
)

Activity

  1. Qu0rise commented on Oct 5, 2023

    @Qu0rise

    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 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.

  2. yjwong1999 commented on Oct 9, 2023

    @yjwong1999

    Hi @Agbeli

    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

  3. Agbeli commented on Oct 10, 2023

    @Agbeli
    Author

    Thank you guys

  4. github-actions commented on Nov 10, 2023

    @github-actions

    This issue is stale because it has been open for 30 days with no activity.

  5. github-actions commented on Nov 24, 2023

    @github-actions

    This issue was closed because it has been inactive for 14 days since being marked as stale.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions