Giter Site home page Giter Site logo

Comments (5)

tongwwt avatar tongwwt commented on May 28, 2024 1

Please check again the lin208-212 in https://github.com/CVPR2023-3D-Occupancy-Prediction/CVPR2023-3D-Occupancy-Prediction/blob/HEAD/projects/mmdet3d_plugin/datasets/nuscenes_dataset.py#L208-L212
The original translation and rotation in can bus has been replaced with ego2global transformation.

  • rotation = Quaternion(input_dict['ego2global_rotation'])
  • translation = input_dict['ego2global_translation']
  • can_bus = input_dict['can_bus']
  • can_bus[:3] = translation
  • can_bus[3:7] = rotation

from cvpr2023-3d-occupancy-prediction.

tongwwt avatar tongwwt commented on May 28, 2024

Hi, can you describe your question in detail? The rotation matrix is equivalent to the quaternion when defining the transformation matrix.

from cvpr2023-3d-occupancy-prediction.

Isaac-xie avatar Isaac-xie commented on May 28, 2024

in nuscene_dataset.py, line 212
can_bus[3:7] = rotation
I guess the rotation (0.394-0.010i-0.003j+0.919k) is to be assigned to can_bus[3:7], but after the assignment, can_bus[3:7]=[0.394, 0.394, 0.394, 0.394]. why can_bus[3:7] != [0.394, - 0.010, -0.003, 0.919]?

from cvpr2023-3d-occupancy-prediction.

Isaac-xie avatar Isaac-xie commented on May 28, 2024

@tongwwt
hi,I have not modified any code in nuscenes_dataset.py. If you run it without the above problem, is there a problem with the version of Quaternion?

Here is my debug screen, please note can_bus[3:7]
{17cea4be-5c0f-4bcd-9761-ceccde152ede}

I think line 212 should be changed to can_bus[3:7] = input_dict['ego2global_rotation']

from cvpr2023-3d-occupancy-prediction.

tongwwt avatar tongwwt commented on May 28, 2024

Hi, I check the code. The can_bus[3:7] only keeps the information of roatation angle which can represent the quaternion, causing the problem you provides. This type of definition does not affect the model performance.

from cvpr2023-3d-occupancy-prediction.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.