alexanderswerdlow / BEVGen

BEVGen
MIT License
67 stars 5 forks source link

Training on Nuscenes dataset #9

Open Bryant-Teng opened 1 month ago

Bryant-Teng commented 1 month ago

Thank you for your outstanding work. I am trying to replicate your work on the Nuscenes dataset, but in the process of using datamodule: stage_1_bev_v2.yaml, I found that it requires a ConcatDataset which needs to import MetadriveDataset. When I choose stage_1_nuscenes.yaml, it calls the get_single_image() function instead.

alexanderswerdlow commented 4 weeks ago

Hi! You can comment out that second dataset [BEVs from Metadrive] and just train on nuScenes as long as you don't plan on using Metadrive generated BEV maps at inference time.

Something like this should work:

train:
  - _target_: multi_view_generation.bev_utils.nuscenes_dataset.NuScenesDataset
    split: 0
    return_cam_img: False
    return_bev_img: True
    augment_bev_img: True
    mini_dataset: ${extras.mini_dataset}
    dataset_dir: ${paths.nuscenes_dir}
    metadrive_compatible: False
    metadrive_compatible_v2: True
    only_keyframes: True