VectorMapNet_code icon indicating copy to clipboard operation
VectorMapNet_code copied to clipboard

environment

Open zsh4614 opened this issue 2 years ago • 4 comments

mmdet3d 0.17.3 requires numpy<1.20.0, but av2 0.2.1 requires numpy>=1.21.5, how can I handle this conflict?

zsh4614 avatar Jan 05 '23 02:01 zsh4614

After pip install -r requirements.txt which install av2, I manually downgraded numpy by pip install numpy==1.19.5, and then go to the virtualenv xxxxxx/lib/python3.8/site-packages/av2/utils/typing.py and replace npt.NDArray[XXX] with np.ndarray

secret104278 avatar Jan 14 '23 07:01 secret104278

@zsh4614 @secret104278 I have the same problem, the solution is: install av2==0.1.0.0;and install numpy==1.23,note:mmdecttion3d dependency requires numpy<=1.19.5, but it can train normally. Also, I downgraded the shapely library version to < 2.0.

FeiYull avatar Jan 16 '23 03:01 FeiYull

@Mrmoore98 hi, Can you show detailed versions of all python libraries? For example: using the pip list command. Thx U

FeiYull avatar Feb 07 '23 07:02 FeiYull

my env works. : ) av2 0.2.1 requires numpy>=1.21.5, but you have numpy 1.19.5 which is incompatible. pip install numpy==1.21.5 mmdet3d 0.17.3 requires numpy<1.20.0, but you have numpy 1.21.5 which is incompatible.

import av2 import shapely import numpy as np import mmdet3d av2.version '0.1.0' np.version '1.23.5' shapely.version '1.8.5' mmdet3d.version '0.17.3

wanglaotou avatar Mar 23 '23 03:03 wanglaotou