- Go to the Nuscenes github page and install the devkit. Once the devkit is installed, download the data set from the Nuscenes website. In our experiments, we were only able to download the first 85 scenes from the TrainVal dataset.
- Use the semantic segmentation network here to segment the camera images in the TrainVal dataset. Ensure that the destination directory for the semantically segmented camera images is different than the source directory.
- When segmentation is finished, rename the source directory where the camera originated to a different name such as CAM_FRONT_OLD and rename the target directory to the previous source destination name. This step is important because it allows us to access the segmented camera images using the functions provided by the nuscenes devkit.
- Construct the intermediate representation using generate_data.py.
- Train the model using train_safety.py
You can read about our findings here!