unilab.algos.torch.common.base_collector.BaseCollector¶
- class unilab.algos.torch.common.base_collector.BaseCollector[source]¶
Bases:
objectBase class for collectors with common weight sync and episode tracking.
Methods
__init__(env_name, num_envs, ...)Check and sync weights if updated.
track_episode(rewards, dones[, state])Track episode statistics.