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

Cannot find scaler.p #2

Closed
prodigystd opened this issue Jun 2, 2017 · 3 comments
Closed

Cannot find scaler.p #2

prodigystd opened this issue Jun 2, 2017 · 3 comments

Comments

@prodigystd
Copy link

I tried to run this lane_lines.py and got the following error:

Traceback (most recent call last):
File "lane_lines.py", line 26, in
label_scaler = pickle.load(open( "scaler.p", "rb" ))
FileNotFoundError: [Errno 2] No such file or directory: 'scaler.p'

@mvirgo
Copy link
Owner

mvirgo commented Jun 2, 2017

Yes, this was part of the old method used to normalize the lane line coefficients - this is not part of the final solution I used. I'd suggest commenting out this line and line 58 (where the scaler is called) to use the file as is without needing the related scaler.

@prodigystd
Copy link
Author

Thanks for prompt response, I have already tried it. But I wasn't satisfied by the performance of the lane detection using this file. So, I found and run the draw_detected_lines.py and it works pretty well with my raw video. Only now I understood the first file lane_lines.py was different approach and draw_detected_lines.py implements an improved method which applies cnn directly to the image without transform.

@mvirgo
Copy link
Owner

mvirgo commented Jun 3, 2017

Gotcha. Sounds like I need to make more clear in the repo that one is old or otherwise just remove it. Thanks for pointing out that it is unclear currently.

@mvirgo mvirgo closed this as completed Jun 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants