Comments (5)
I just faced the problem, and I solved it in an easy way.. I modified the function "def from_file" in the following way:
def from_file(cls, file_name: Path) -> "LidarPointCloud":
"""Loads LIDAR data from binary numpy format. Data is stored as (x, y, z, intensity, ring index).
Args:
file_name: Path of the pointcloud file on disk.
Returns: LidarPointCloud instance (x, y, z, intensity).
"""
assert file_name.suffix == ".bin", "Unsupported filetype {}".format(file_name)
scan = np.fromfile(str(file_name), dtype=np.float32)
try:
points = scan.reshape((-1, 5))[:, : cls.nbr_dims()]
except:
l = len(scan)//5
points = scan[:5*l].reshape((-1, 5))[:, : cls.nbr_dims()]
print("Error solved in {}".format(file_name))
return cls(points.T)
from nuscenes-devkit.
Hey!
I'm facing the same problem. I am also using the newest version of the dataset.
Do you have a solution for it?
from nuscenes-devkit.
Hi @tobii95
I have no idea about this issue.
Maybe we can skip some problematic frames for exporting.
(I remember this occurs only for some frames... not every frame)
from nuscenes-devkit.
I just downloaded the dataset a few weeks ago, but I got the exact same error when trying to convert it to KITTI format. Have you been able to find a solution and if not is it possible to just skip the affected frames?
from nuscenes-devkit.
Hey @mnik17 ,
some time has pased, so I don't remember the issue in detail anymore. But as I remember it, I just skipped the affected frames and that worked for me
from nuscenes-devkit.
Related Issues (20)
- The dataset is not available because the download link is 404 HOT 2
- Are "BETA_PLUS_PLUS LiDARS" and "BETA_PLUS_PLUS Cameras" sensor used in the dataset? HOT 1
- How many annotated scenes do you have?
- TypeError: rotate() takes 1 positional argument but 2 were given
- Ground Truth lane coordinates
- Range-sensor data
- Bug in data_classes?
- As the Kaggle competition is concluded. Any plans on releasing Ground truth for public test data ?
- Some problems about sensor coord system HOT 1
- Issue with export_kitti, The Translation part of P matrix is always kept Zero which might not be correct.
- Info about LiDAR sensors
- what is the eval metric of Lyft HOT 1
- Missing many car labels in Lyft perception dataset HOT 3
- cannot connect to X server
- Converting Map to Vector Forms HOT 4
- Map expansion
- Transformation of vehicle data from global to sensor coordinate is not matching as given in the data set
- is there any scene image in nuScenes dataset?
- `pytest` is an "optional" extra but also in `REQUIRED`?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuscenes-devkit.