Skip to content

Latest commit

 

History

History

unit-8-part2

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Doom

Unit 8: Proximal Policy Optimization with Doom (Part 2)

You can find the unit theory here.

HOW TO RUN

First check that you have the requirements listed here.

IMPORTANT: Before runing the following commands ensure that you are inside the unit folder.

1 - Build the Docker image

You only need to run this command once

docker-compose build

2 - Run training and pusth the model

In this unit the train script also pushes the model to the hub after training. Use the following command to run it:

docker-compose run train

If you want to modify some hyperparameters you can do it in the main function of the train.py script. You MUST change the hf_username variable to use your hugging face account. It is also recomended to check that the n_workers variable is equal or lower to the number of cores of your CPU.

The results of the experiments are stored in the runs folder, which is automatically created.