Closed MichalPaszkiewicz closed 6 years ago
I've just downloaded the training set (and put in folder structure ./testing-data/[vehicles||non-vehicles]/[Far||Left||MiddleClose||Right]/*.png ).
I then installed the prerequisites from requirements file.
Following this, I ran "Jupyter Notebook".
When running the code block by block, I get the following error in the "Collecting Data" section:
IndexError Traceback (most recent call last) <ipython-input-3-86e1b16211cf> in <module>() 22 23 car_image = mpimg.imread(cars[5]) ---> 24 notcar_image = mpimg.imread(notcars[0]) 25 26 def compare_images(image1, image2, image1_exp="Image 1", image2_exp="Image 2"): IndexError: list index out of range
This is not a code issue.
It should be specified in the documentation that the non-vehicle images should be put in a folder structure:
./testing-data/nonvehicle//.png
I've just downloaded the training set (and put in folder structure ./testing-data/[vehicles||non-vehicles]/[Far||Left||MiddleClose||Right]/*.png ).
I then installed the prerequisites from requirements file.
Following this, I ran "Jupyter Notebook".
When running the code block by block, I get the following error in the "Collecting Data" section: