First, download the files in the master branch of the repository.
Next, download the Python AI libraries as below:
- Download Anaconda: Begin by going to the Anaconda download page to begin installing Anaconda corresponds to your computer operating system.
- Create an environment by using AI libraries:
- Start the Anaconda prompt application (or terminal on Mac). Start the prompt by searching for anaconda on your computer. At the Anaconda prompt, enter the following code:
conda create -n myenv python=3.7 pandas jupyter seaborn scikit-learn keras pytorch pillow
- You'll be prompted to install the packages. Enter Y, and then press Enter.
- You'll need to activate your new environment. To activate the environment, enter the following code:
conda activate myenv
- To install torchvision, at the Anaconda prompt, enter the following code:
conda install -c pytorch torchvision
- The new environment should be created and ready to use.
- Start the Anaconda prompt application (or terminal on Mac). Start the prompt by searching for anaconda on your computer. At the Anaconda prompt, enter the following code:
Now, open the ClassifySpaceRockProgram.ipynb file in your favourite editor and make sure that the kernel environment being used is the one you created in the previous step. Next, run each of the code cells one at a time. You may change any line of the code to suit your needs accordingly.