Turoad / lanedet

An open source lane detection toolbox based on PyTorch, including SCNN, RESA, UFLD, LaneATT, CondLane, etc.
Apache License 2.0
561 stars 93 forks source link

setup.py CUDA #77

Closed zillur-av closed 1 year ago

zillur-av commented 1 year ago
  138 | #error -- unsupported GNU version! gcc versions later than 8 are not supported!
      |  ^~~~~
error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1

I installed torch in a conda environment via pip. It is working fine; I checked usingtorch.cuda.is_available().

torch= 1.9.0+cu102
torchvision= 0.10.0+cu102
ubuntu 20

Do not understand why this error is showing everytime I run setup.py