# Changes ## Dependencies - New extra "eval" ## Api Extension - `Experiment` and `ExperimentConfig` now have a `name`, that can however be overridden when `Experiment.run()` is called - When building an `Experiment` from an `ExperimentConfig`, the user has the option to add info about seeds to the name. - New method in `ExperimentConfig` called `build_default_seeded_experiments` - `SamplingConfig` has an explicit training seed, `test_seed` is inferred. - New `evaluation` package for repeating the same experiment with multiple seeds and aggregating the results (important extension!). Currently in alpha state. - Loggers can now restore the logged data into python by using the new `restore_logged_data` ## Breaking Changes - `AtariEnvFactory` (in examples) now receives explicit train and test seeds - `EnvFactoryRegistered` now requires an explicit `test_seed` - `BaseLogger.prepare_dict_for_logging` is now abstract --------- Co-authored-by: Maximilian Huettenrauch <m.huettenrauch@appliedai.de> Co-authored-by: Michael Panchenko <m.panchenko@appliedai.de> Co-authored-by: Michael Panchenko <35432522+MischaPanch@users.noreply.github.com>
23 lines
646 B
Python
23 lines
646 B
Python
"""Utils package."""
|
|
|
|
from tianshou.utils.logger.base import BaseLogger, LazyLogger
|
|
from tianshou.utils.logger.tensorboard import TensorboardLogger
|
|
from tianshou.utils.logger.wandb import WandbLogger
|
|
from tianshou.utils.lr_scheduler import MultipleLRSchedulers
|
|
from tianshou.utils.progress_bar import DummyTqdm, tqdm_config
|
|
from tianshou.utils.statistics import MovAvg, RunningMeanStd
|
|
from tianshou.utils.warning import deprecation
|
|
|
|
__all__ = [
|
|
"MovAvg",
|
|
"RunningMeanStd",
|
|
"tqdm_config",
|
|
"DummyTqdm",
|
|
"BaseLogger",
|
|
"TensorboardLogger",
|
|
"LazyLogger",
|
|
"WandbLogger",
|
|
"deprecation",
|
|
"MultipleLRSchedulers",
|
|
]
|