-
Clone the project
git clone [email protected]:haraldger/4995-Deep-Reinforcement-Learning.git
-
Navigate into the project
cd 4995-Deep-Reinforcement-Learning
-
Create a virtual environment
python3 -m venv venv
-
Activate the virtual environment
source venv/bin/activate
-
Upgrade pip
pip install --upgrade pip
-
Install dependencies
pip install -r requirements.txt
-
If you want to add a new dependency
-
First install it
pip install <package_name>
-
Then, update the dependencies file
pip freeze > requirements.txt
-
Run the following script to test the mario emulator
gym_super_mario_bros -e SuperMarioBrosRandomStages-v0 -m human --stages 1-1
Refer to https://github.com/Kautenja/gym-super-mario-bros for more information.