Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trained LaneATT model #124

Closed
daeunni opened this issue Oct 17, 2022 · 8 comments
Closed

Trained LaneATT model #124

daeunni opened this issue Oct 17, 2022 · 8 comments
Labels
lane detection question Further information is requested

Comments

@daeunni
Copy link

daeunni commented Oct 17, 2022

Hi,
do you have trained LaneATT CUlane & TUSimple models? :) (like resnet18s_lstr_culane_20210722.pt)
where can I find them in this repo?

@voldemortX
Copy link
Owner

@daeunni LaneATT is currently supported on CULane. You can find the models in MODEL_ZOO.md

e.g., resnet18: https://drive.google.com/file/d/17Ve7RiqxHK4aEXOt7MJzycj6mvvrieZ1/view?usp=sharing

For tusimple, there are some technical reproducibility issues: #98

@voldemortX
Copy link
Owner

Remember to download anchors from Tabelini's repo:

# https://github.com/lucastabelini/LaneATT/raw/main/data/culane_anchors_freq.pt

@voldemortX voldemortX added question Further information is requested lane detection labels Oct 17, 2022
@daeunni
Copy link
Author

daeunni commented Oct 17, 2022

Thanks a lot! @voldemortX :)

btw, I encountered this error. How can I compile line_nms ?
NameError: name 'line_nms' is not defined

I tried #103 method but I can't install the laneatt nms packages.

@voldemortX
Copy link
Owner

@daeunni You mean even the install-mode nms in LaneATT repo can't be installed? Perhaps use verbose=True here and see if there is a compiling issue?

@daeunni
Copy link
Author

daeunni commented Oct 17, 2022

Ohh yes ! After I searched some compile error about install-mode nms, I found there was a Ninja error like below.
RuntimeError: Ninja is required to load C++ extension

So I solved that problem using this. It will be helpful to someone ! :3 (It's also related to #103)

wget https://github.com/ninja-build/ninja/releases/download/v1.8.2/ninja-linux.zip
sudo unzip ninja-linux.zip -d /usr/local/bin/
sudo update-alternatives --install /usr/bin/ninja ninja /usr/local/bin/ninja 1 --force 

@voldemortX
Copy link
Owner

@daeunni Thanks for the solution! Does pip install ninja work?

@daeunni
Copy link
Author

daeunni commented Oct 17, 2022

Yep that works to me

voldemortX added a commit that referenced this issue Oct 17, 2022
@voldemortX
Copy link
Owner

Well. I think it may be time to add ninja to requirements.txt.

@daeunni daeunni closed this as completed Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lane detection question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants