rotem154154 / self-driving-car

teaching ai to drive a car
20 stars 10 forks source link

TypeError: can't multiply sequence by non-int of type 'float' #2

Open cvpfus opened 5 years ago

cvpfus commented 5 years ago

I got this message when running main.py

Traceback (most recent call last): File "D:/Source code/self-driving-car-master/self-driving-car-master/main.py", line 135, in map = CarMap() File "D:\Source code\self-driving-car-master\self-driving-car-master\Car_Map.py", line 13, in init self.in_grey = [160] * (len(self.in_map) / 2) TypeError: can't multiply sequence by non-int of type 'float'

I'm totally newbie

rotem154154 commented 5 years ago

try to run it with python 2.7