client.dqn_client

Contents

client.dqn_client#

The DQN client module contains the sampling loop for DQN on worker nodes.

If specified, the training function is executed by a ClientWatchdog to restart the sampling whenever the sampling rate drops below the expected value.

soulsai.distributed.client.dqn_client.dqn_client(config: SimpleNamespace)#

Wrap the the DQN client main function and automatically parameterize it.

If the training is configured to use a watchdog, the watchdog starts the training and adds additional arguments to check the health of the training process by measuring the sampling rate.

Parameters:

config – The training configuration.