Client training script#
This script is the main function for starting the sampling client.
Clients read the local configuration, connect to the training server, and download the current training configuration. Clients then enter the main training loop and start to generate samples from the environment.
Note
If you train on SoulsGym, the player has to be loaded into the game in order to start training. Also remember to not interact with your keyboard in any way during training with SoulsGym.
Example
To start training on a client, make sure you have configured the correct Redis address in the config files, and the server is running. You can then start the training by running the script from the package root folder:
$ python soulsai/distributed/client/main.py