Giter Club home page Giter Club logo

advance-lane-finding's Issues

[Python3.6.2] error in LineTracker.py, line 225

Hello sir,

I'm trying to run main_image_gen.py in python3.6.2

I had an error at LineTracker.py line 222, which I made a fix:
conv_template = np.concatenate((np.ones(self.window_width),np.zeros(int(self.center_dis-self.window_width+pad)),np.ones(self.window_width)))

After that now I'm getting another error:

====== RESTART: D:\Python\Advance-Lane-Finding-master\main_image_gen.py ======
Traceback (most recent call last):
File "D:\Python\Advance-Lane-Finding-master\main_image_gen.py", line 113, in
frame_centers = curve_centers.track_line(warped)
File "D:\Python\Advance-Lane-Finding-master\LineTracker.py", line 303, in track_line
self.recent_centers.append(self.new_track(warped))
File "D:\Python\Advance-Lane-Finding-master\LineTracker.py", line 225, in new_track
| (((line_ref == -1) & (curve_direction == 1)) & ((len(conv_signal[max(l_center+self.window_width/2+self.center_dis+pad+l_dis,0):min(l_center+self.window_width/2+self.center_dis+pad+self.padding+l_dis,warped.shape[1])])) != 0)) | (((line_ref == -1) & (curve_direction == -1)) & ((len(conv_signal[max(l_center+self.window_width/2-self.padding+self.center_dis+pad+l_dis,0):min(l_center+self.window_width/2+self.center_dis+pad+l_dis,warped.shape[1])])) != 0) )):
TypeError: slice indices must be integers or None or have an index method

Sorry I just started to learn python for this project, any help any help would be appreciated!

Thanks.

Advance-Lane-Finding project

Hello, after looking at your Advance-Lane-Finding project, can you tell me how to build my own project? The How can i run

Python2 or Paython3?

Hello sir,

Is this working for Python2? I'm getting some errors with pickle
ValueError: unsupported pickle protocol: 3

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.