Open XiaobenLi00 opened 2 weeks ago
why do you need a custom logger in your case? it seems that you just want to change the name, we have tb_log_name
parameter (to the learn()
method) for that.
Nothing is logged in your case because you didn't specify any logger format... https://github.com/DLR-RM/stable-baselines3/blob/9a3b28bb9f24a1646479500fb23be55ba652a30d/stable_baselines3/common/logger.py#L638
the built-in configure is here: https://github.com/DLR-RM/stable-baselines3/blob/9a3b28bb9f24a1646479500fb23be55ba652a30d/stable_baselines3/common/utils.py#L181-L215
❓ Question
In the doc https://stable-baselines3.readthedocs.io/en/master/common/logger.html, there is a warning
I am wondering that if I a custom logger object like
How should I set
tensorboard_log
andverbose
? Because I notice that in the code below, the settings is overwritten and no info is logged.Checklist