Resources and Assignments for Introduction to Reinforcement Learning, Semester Project 2021
-
Fork the repo on GitHub: Use the button at the top right.
-
Clone the project to your machine
git clone https://github.com/${your_username}/Intro-to-RL-2021.git
-
Commit your solutions to your own branch:
Create a new branch by
git checkout -b ${your_branch_name}
-
Push your work back up to your fork:
Navigate to the top-level repo directory and:
git add . git commit -m "commit message" git push origin ${your_branch_name}
-
Update the repo on your system by setting an upstream to the
main
branch of this repository and then running -git fetch upstream git checkout main git merge upstream/main
You can alternatively do everything from Google Colab (less ideal), with the following changes to the above process.
-
Mount your Google Drive to Colab. (Go to File Browser > Mount Drive when you run a notebook for the first time).
If for some reason Drive doesn't automatically get mounted, add and run the following cell at the beginning of the notebook.
from google.colab import drive drive.mount('/content/drive')
-
Follow the above instructions after changing your working directory to
drive/MyDrive/${Preferred Directory}
by running%cd drive/MyDrive/${Preferred Directory}
Remember to start every command with a
!
(eg.!git clone ${repo_link}
).