LaneSegNet icon indicating copy to clipboard operation
LaneSegNet copied to clipboard

segmentation fault

Open spcrobocar opened this issue 2 years ago • 4 comments

I followed the instruction to setup a conda env and install all package, but when I ran test.sh, I got a segmentation fault. I did some debug and it seems it is because of the following line from openlanev2.lanesegment.evaluation.distance import (pairwise)

Have anyone ever successfully run this repo?

spcrobocar avatar Feb 19 '24 00:02 spcrobocar

You may can try this alternative environment from #7.

sephyli avatar Feb 19 '24 00:02 sephyli

I was able to install the env as you mentioned. Howevery, in the last step, when I run "pip install -r requirements.txt", I got the following error:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. nuscenes-devkit 1.1.11 requires Shapely<2.0.0, but you have shapely 2.0.0 which is incompatible.

nuscenes needs Shapely < 2.0 but openlanev2 needs Shapely > 2.0

What should I do?

spcrobocar avatar Feb 19 '24 02:02 spcrobocar

I was able to install the env as you mentioned. Howevery, in the last step, when I run "pip install -r requirements.txt", I got the following error:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. nuscenes-devkit 1.1.11 requires Shapely<2.0.0, but you have shapely 2.0.0 which is incompatible.

nuscenes needs Shapely < 2.0 but openlanev2 needs Shapely > 2.0

What should I do?

Have you managed to solve the issue since?

an-bohr avatar May 09 '24 13:05 an-bohr

That’s a existing denpenency issue in OpenLane-V2. You can install shaply < 2.0.0 manually.

sephyli avatar May 09 '24 17:05 sephyli