UniAD icon indicating copy to clipboard operation
UniAD copied to clipboard

python version? waymo-open-dataset-tf-2-1-0==1.2.0?

Open qsunyuan opened this issue 1 year ago • 11 comments

我在配置mmdetection3d的时候:

cd ~
git clone https://github.com/open-mmlab/mmdetection3d.git
cd mmdetection3d
git checkout v0.17.1 # Other versions may not be compatible.
python setup.py install
pip install -r requirements.txt  # Install packages for mmdet3d

在使用 python setup.py install 命令的时候出现了如下问题:

RuntimeError: Python version >= 3.9 required.

想问问作者最初的conda create 的python版本应该设置为3.9吗?

qsunyuan avatar Jun 24 '23 00:06 qsunyuan

ERROR: Could not find a version that satisfies the requirement waymo-open-dataset-tf-2-1-0==1.2.0 (from versions: none) ERROR: No matching distribution found for waymo-open-dataset-tf-2-1-0==1.2.0

使用2-5-0或者2-11-0的版本不兼容

qsunyuan avatar Jun 24 '23 02:06 qsunyuan

waymo-open-dataset-tf-2-3-0

seasky100 avatar Jun 24 '23 08:06 seasky100

image

qsunyuan avatar Jun 24 '23 08:06 qsunyuan

Same error. My be some errors in doc INSTALL.md? https://github.com/OpenDriveLab/UniAD/blob/main/docs/INSTALL.md

AromaticJ avatar Jun 26 '23 02:06 AromaticJ

My try:

1. python3.8:

Install mmdet3d from source code.

cd ~
git clone https://github.com/open-mmlab/mmdetection3d.git
cd mmdetection3d
git checkout v0.17.1 # Other versions may not be compatible.
python setup.py install 
RuntimeError: Python version >= 3.9 required.

2. I shift to the python3.9

pip install waymo-open-dataset-tf-2-1-0==1.2.0

https://github.com/open-mmlab/mmdetection3d/blob/f1107977dfd26155fc1f83779ee6535d2468f449/requirements/optional.txt#L2

ERROR

check this issue, seems to be incompatible: https://github.com/waymo-research/waymo-open-dataset/issues/48#issuecomment-926391440

3. I shift to the python3.6

it's ok to install the waymo-open-dataset-tf-2-1-0, But other incompatibilities arise.

qsunyuan avatar Jun 26 '23 03:06 qsunyuan

@qsunyuan @AromaticJ Sorry for the late response. I'm checking this problem, and will reply to you soon.

YTEP-ZHI avatar Jun 26 '23 04:06 YTEP-ZHI

same error

xibinyue avatar Jun 26 '23 06:06 xibinyue

same error

weitaoO0 avatar Jun 26 '23 08:06 weitaoO0

Hi @qsunyuan @AromaticJ @xibinyue @weitaoO0 . It seems to be caused by the installation of scipy. Please try the following commands instead of that in the doc:

cd mmdetection3d
git checkout v0.17.1
pip install scipy==1.7.3
pip install scikit-image==0.20.0
pip install -v -e .

Then install UniAD as in the doc:

cd ~
git clone https://github.com/OpenDriveLab/UniAD.git
cd UniAD
pip install -r requirements.txt

It works for me. If it's still not working for you, please report it in this thread.

YTEP-ZHI avatar Jun 26 '23 08:06 YTEP-ZHI

Great! Thx for your help. mmdet3d is ok.

Another Error:

cd UniAD
pip install -r requirements.txt
image

It seems that numpy in UniAD should be <1.20.0

https://github.com/OpenDriveLab/UniAD/blob/6325a087fd2d5a11774273d63500687e0e6f2b77/requirements.txt#L4

qsunyuan avatar Jun 26 '23 12:06 qsunyuan

@qsunyuan Just simply ignore this error. numpy==1.20.0 is required for tracking evaluation.

YTEP-ZHI avatar Jun 26 '23 12:06 YTEP-ZHI

I'm closing this issue as there's no further conversation, feel free to reopen it if needed @qsunyuan.

YTEP-ZHI avatar Jun 28 '23 12:06 YTEP-ZHI