Source Code for the book "Deep Reinforcement Learning with Python", second edition by Nimish Sanghi
- Please install following ubuntu packages using:
apt-get install swig cmake ffmpeg freeglut3-dev xvfb git-lfs
git lfs install
- Create a new
venv
orconda
environment withpython=3.9
. Activate it and then inside the environment, install packages fromrequirements.txt
using following command:
pip install -r requirements.txt
- clone the repository in a local drive. Navigate the the folder where it is cloned and start jupyterlab using command `
- Please install following packages using
brew
:
brew install swig cmake ffmpeg freeglut3 git-lfs
git lfs install
- Create a new
venv
orconda
environment withpython=3.9
. Activate it and then inside the environment, install packages fromrequirements.txt
using following command:
pip install --use-pep517 pymunk
pip install -r requirements.txt
- clone the repository in a local drive. Navigate the the folder where it is cloned and start jupyterlab using command `
- Open the notebook on Google Colab either by uploading from local drive or by directly connecting Google Colab with github. Each notebook is self contained and ready to be run Colab or local.
- To run on Colab, you will need to uncomment and execute the code cells under section with heading "Running in Colab/Kaggle".
- Unless specified, you can run the code in regular CPU environments in Colab.