Closed CWAndersn closed 2 years ago
I believe I have discover the cause of this error. The conversion script uses a function named _get_available_scenes(nusc), which returns the scene dict objects corresponding to the current split. However, for some reason the code checks that the path to the Lidar pointcloud exists in the data directory, otherwise it does not append the scene dict object to the result. See the relevant code segment below
lidar_path, boxes, _ = nusc.get_sample_data(sd_rec["token"])
if not Path(lidar_path).exists():
scene_not_exist = True
break
else:
break
I did not download the Lidar pointclouds since this model only uses the camera images, so the conversion code sees that no lidar_paths exist, and thus doesn't include the scenes and doesn't convert any annotations. By simply removing this segment and replacing it with a single line break
it seems to run the conversion as intended(However, the conversion process did encounter a second error seen in issue #29, which I have yet to find the cause for).
Is there a reason why it checks that the Lidar path exists? It is my impression that the lidar data is not used, and the dataset setup does not note that lidar data is required.
Hi, you're right. Our work doesn't need lidar data. The _get_available_scenes() function is doing the sanity check to make sure that each scene (sequence) has corresponding lidar data and labeled bounding boxes. It is like a standard preprocessing and thus you can skip this function if you only download the camera data. I will close these two issues and feel free to discuss more in the Discussion.
I am currently trying to reproduce the nuScenes results as shown in the Getting Started page, but am running into an error when I try to run the run_eval_nusc.sh script. See the output trace below.
A series of other errors occur as the script attempts to execute subsequent commands after test_eval_video_exp.py errors out.
I am currently using Docker and have followed the installation and dataset setup instructions, which seem to have succeeded with no issues. Any ideas as to what is causing this error? Thanks.