lyft / lyft/nuscenes-devkit

Invalid lidar file for exporting to kitti

Open
#89 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
390
Forks
99
PR merge metrics
No merged PRs in 30d

Description

regarding #50 issue,

The same error comes up as below

points = scan.reshape((-1, 5))[:, : cls.nbr_dims()]
ValueError: cannot reshape array of size 265728 into shape (5)

I am informed from #50 that the latest version of the Lyft dataset should be OK with this issue.

However, I got the same issue with the newest version(downloaded in July 2020).

As far as I know, the previous version has its folder name as v1.01-train/lidar which is different from mine: train/train_lidar.

How can I resolve this? Any comments are welcome!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the failing scan.reshape((-1, 5))[:, : cls.nbr_dims()] line and compare the expected lidar layout with the downloaded Lyft dataset paths, especially train/train_lidar versus v1.01-train/lidar. Review issue #50 for prior context, then verify that exporting the current dataset to KITTI completes without the reshape error.

Written by the indexing model from the issue text.

Assessment

Domain
autonomous-driving, data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.