fundamentalvision / BEVFormer

[ECCV 2022] This is the official implementation of BEVFormer, a camera-only framework for autonomous driving perception, e.g., 3D object detection and semantic map segmentation.
https://arxiv.org/abs/2203.17270
Apache License 2.0
3.4k stars 550 forks source link

numpy版本不匹配 #203

Open zhishuifeiqian opened 1 year ago

zhishuifeiqian commented 1 year ago

按照文档一步步下载,但是到python setup.py install这一部的时候出现报错,修改numpy版本也没有用,请问有办法解决吗 image

gxytcrc commented 1 year ago

Same problem, any solution?

yuezhao1 commented 1 year ago

@gxytcrc @zhishuifeiqian I found that this is because nuscenes devkit was updated to 1.1.11 on September 25, 2023, so the requirement for numpy is greater than 1.22. Therefore, we can downgrade nuscenes devkit to 1.1.10

gxytcrc commented 1 year ago

@gxytcrc @zhishuifeiqian I found that this is because nuscenes devkit was updated to 1.1.11 on September 25, 2023, so the requirement for numpy is greater than 1.22. Therefore, we can downgrade nuscenes devkit to 1.1.10

It works, thank you!

jkl826 commented 9 months ago

ImportError: cannot import name 'bool' from 'numpy' (/pub/anaconda3/lib/python3.8/site-packages/numpy/init.py) ,Please provide a solution for the above error, thank you very much!

lix19937 commented 8 months ago

ImportError: cannot import name 'bool' from 'numpy' (/pub/anaconda3/lib/python3.8/site-packages/numpy/init.py) ,Please provide a solution for the above error, thank you very much!

numpy version is too high, you can downgrade to numpy==1.23. like

pip3 install numpy==1.23 -i https://mirrors.aliyun.com/pypi/simple