MagicDrive icon indicating copy to clipboard operation
MagicDrive copied to clipboard

Can use nuscenes mini to train?

Open yancx8 opened this issue 1 year ago • 5 comments

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? "

yancx8 avatar Apr 26 '24 02:04 yancx8

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

zhangxiao696 avatar Apr 28 '24 07:04 zhangxiao696

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!

yancx8 avatar Apr 28 '24 09:04 yancx8

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

zhangxiao696 avatar Apr 28 '24 09:04 zhangxiao696

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 avatar Apr 29 '24 08:04 yancx8

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'

yancx8 avatar May 06 '24 09:05 yancx8

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

Please check #8.

flymin avatar May 22 '24 06:05 flymin