Closed JaimeParker closed 6 months ago
Duplicate of https://github.com/DLR-RM/stable-baselines3/issues/1888#issuecomment-2047612941
You will need to access those values via self.model.
@araffin since rollout info were dumped (in off_policy_algorithm.py
), there is no chance for accessing rollout data in callback logger without a customized logger class?
❓ Question
I'm using a
custom gym env
with multi envs, and I want to write a customized callback function related toStopTrainingOnRewardThreshold
, one difference is I shall use"rollout/ep_rew_mean"
as standard, but I don't know to to get this value in callback.py.Here is my customized class in callback.py
I use print to check if the data ere accessible, here is output:
All zeros, seems that this way is wrong, but how to get this value?
Checklist