How can I check the decrease in loss during the study?

  • Medium: It contributes to significant difficulty to complete my task, but I can work around it.

I am using ver 2.2 of ray rllib.
I am training using the SAC algorithm and would like to check the changes in Actor loss and Critic loss to see if the training is progressing properly.

In the file progress.csv, which is output without any modification, the value of reward is output, but the loss is not.

My question is as follows.

  1. Are the changes in loss output to some log file when we start the study with the default settings?

  2. What code change should I make to output the loss to progress.csv? I would like to know the specific method.

You can open tensorboard (or wandb if you have enabled it) and look for “actor_loss” or “critic_loss”. They should already be there (at least on the latest version on master)

1 Like

Thanks! It works for me.