Skip to content

Latest commit

 

History

History

unit-1-bonus

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Huggy

Unit 1 Bonus: Introduction to Deep Reinforcement Learning with Huggy

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

If you want to modify the hyperparameters you can do it in the configuration file Huggy_train_params.yaml.

docker-compose run train

Each training run will create a folder in "runs/train/<DATETIME>/". You will find there the experiment outputs (parameters used, model checkpoints...).

3 - Push the trained model to the Hub

Before pushing the model to the Hub YOU MUST edit the file model_to_hub.sh. You should at least change the RUN_ID (<DATETIME> of your training run) and the REPO_ID to push the model to you personal repository.

docker-compose run model_to_hub