fudan-zvg / S-NeRF

[ICLR 2023] S-NeRF: Neural Radiance Fields for Street Views
MIT License
169 stars 10 forks source link

Train the model on v1.0-mini of NuScenes #14

Open amoghskanda opened 8 months ago

amoghskanda commented 8 months ago

Hey, firstly great work! I wanted to train the model only on mini of NuScenes as Waymo was too big and so were the trainval parts of NuScenes. What are the necessary changes I've to make for it?

ZiYang-xie commented 7 months ago

You don't need to train the model using every scene.You can choose several scenes to train the reconstruction model. For the data preprocessing you may want to check scripts/nuscenes_preprocess.py, you can change the version to v1.0-mini if you don't want to preprocess all the scenes.

emjay73 commented 5 months ago

I just downloaded the nuscenes mini-v1.0 and noticed that there was no 'scene_dict.json'. Consequently, the code encounters the error:

FileNotFoundError: [Errno 2] No such file or directory: './data/scene_dict.json'

My data folder structure is as follows:. image

Where can I find the scene_dict.json file?

amoghskanda commented 5 months ago

@emjay73 you have to create a file called scene_dict.json and put it's token in that file.

emjay73 commented 5 months ago

Thank you for the reply! I created the file referring to the scene.json in "/SNeRF/data/nuScenes/mini/v1.0-mini" and it worked! But now I'm fighting against the other issues :<