Tianshou/tianshou/utils/__init__.py
ChenDRAG 9b61bc620c add logger (#295)
This PR focus on refactor of logging method to solve bug of nan reward and log interval. After these two pr, hopefully fundamental change of tianshou/data is finished. We then can concentrate on building benchmarks of tianshou finally.

Things changed:

1. trainer now accepts logger (BasicLogger or LazyLogger) instead of writer;
2. remove utils.SummaryWriter;
2021-02-24 14:48:42 +08:00

12 lines
271 B
Python

from tianshou.utils.config import tqdm_config
from tianshou.utils.moving_average import MovAvg
from tianshou.utils.log_tools import BasicLogger, LazyLogger, BaseLogger
__all__ = [
"MovAvg",
"tqdm_config",
"BaseLogger",
"BasicLogger",
"LazyLogger",
]