cure-lab / MagicDrive

[ICLR24] Official implementation of the paper “MagicDrive: Street View Generation with Diverse 3D Geometry Control”
https://gaoruiyuan.com/magicdrive/
GNU Affero General Public License v3.0
664 stars 40 forks source link

Can use nuscenes mini to train? #29

Closed yancx8 closed 6 months ago

yancx8 commented 7 months ago

Thank you for your good job!! I tried to use nusenes mini to run a training demo, but raise error "No such file or directory: 'data/nuscenes/maps/expansion/singapore-onenorth.json', so i wonder if this version can only train on full nuscenes dataset? "

zhangxiao696 commented 6 months ago

you should download Map expansion in https://www.nuscenes.org/nuscenes, and put them in maps folder.

yancx8 commented 6 months ago

Thank you very much! I have read the note for xformers installation, but i don't know how to install the customized version of xformers with Pytorch==1.10.2。 Looking forward to your reply, thanks!

zhangxiao696 commented 6 months ago

It is compatible with Pytorch==1.10.2, just follow the steps of the author. cd ${floder of xformers}; pip -vvv install .

yancx8 commented 6 months ago

Thank you. I have trird to cd ${floder of xformers}; pip -vvv install . but raise error "No such file or directory: '/code/third_party/xformers/xformers/version.py', i didn't find the version.py, have you meet the same problem?

yancx8 commented 6 months ago

I have solve the problem. Before installing xformer, you should cd /root/miniconda3/envs/magicdrive/lib/python3.8/subprocess.py, line425, change check=True to check=False.

But wneh i train with nuscenes mini, raise error:packaging.version.InvalidVersion: Invalid version: '0.0.19+.d20240506'

flymin commented 6 months ago

Definitely, it is because you are downloading the zip rather than cloning this project repo.

Please check #8.