Closed chrisgao99 closed 5 months ago
Besides, can I convert and replay a scenario from nuscenes with scene id or token specified?
For example, Here is the metadata of a scenario from nuscenes v1.0-trainval dataset
{
"token": "bebf5f5b2a674631ab5c88fd1aa9e87a",
"log_token": "6f7fe59adf984e55a82571ab4f17e4e2",
"nbr_samples": 41,
"first_sample_token": "5991fad3280c4f84b331536c32001a04",
"last_sample_token": "35833ae5808e4ef186d1fdebac3d9cf6",
"name": "scene-0655",
"description": "Parking lot, parked cars, jaywalker, bendy bus, gardening vehicles"
},
Can I use the token or name to convert a specified scenario and replay it with Scenarionet?
Hi @chrisgao99
I can not reproduce this problem from my side... I even redownload the nuscenes data. I suspect the scenarionet you are using is not the latest. I find the line raising bug is line 481 in nuscenes/utils.py
, but this line should be an empty line in the latest version. Could you try reinstall everything or pull the latest main branch?
For the second qeustion, yes, you can do that with nuscenes/utils/convert_nuscenes_scenario
. This function is repeatedly and parallelly called in python convert_nuscenes.py
to convert many scenarios together. So you can call it for any specific nuscenes scenario to convert it to scenarioNet format.
Oh yes, thank you for the help.
Hello,
I'm trying to convert nuscenes scenarios
However, an error is raised from
The full error message is
I have tested the downloaded data with the nuscenes_tutorial.ipynb and here is how my data dir looks like:
May I ask how to solve this error?