voldemortX / pytorch-auto-drive

PytorchAutoDrive: Segmentation models (ERFNet, ENet, DeepLab, FCN...) and Lane detection models (SCNN, RESA, LSTR, LaneATT, BézierLaneNet...) based on PyTorch with fast training, visualization, benchmarking & deployment help
BSD 3-Clause "New" or "Revised" License
837 stars 137 forks source link

UserWarning: Can't complie line nms op for LaneATT. Set verbose=True for load in /utils/csrc/apis.py L9 for details. #103

Closed ailias closed 2 years ago

ailias commented 2 years ago

How to compile line nms using python or pip, why not use laneatt nms installation method?

voldemortX commented 2 years ago

We use the installation-free loading mode. If you can install the laneatt nms package, you should also be able to load this. What was the issue?

YaoChengTang commented 2 years ago

In my case, some packages were missing from the cloud server, like pybind11 and ninja. Install them, remove cache files in '.cache' and 'pycache', and you may run the code successfully. Hope it will help you.