The demo
I have some good news and some bad news.
I'll start with the bad news: we can't run the map.py
file with a simple plug and play on Google Colab. The reason for that
is that Kivy is very tricky to install through Colab. So, we'll go for
the classic method of running a Python file: through the terminal.
The good news is that once we install Kivy and PyTorch through the terminal, you'll have a fantastic demo!
Let's install everything we need to run our self-driving car. Here's what we have to install, in the following order:
- Anaconda: A free and open source distribution of Python that offers an easy way to install packages thanks to the
conda
command. This is what we'll use to install PyTorch and Kivy. - Virtual environment with Python 3.6: Anaconda is installed with Python 3.7 or higher; however, that 3.7 version is not compatible with Kivy. We'll create a virtual environment in which we install Python...