diff --git a/tianshou/data/buffer.py b/tianshou/data/buffer.py index 1e817d9..8cf4f6b 100644 --- a/tianshou/data/buffer.py +++ b/tianshou/data/buffer.py @@ -143,7 +143,7 @@ class ReplayBuffer: self._last_obs = save_only_last_obs self._index = 0 self._size = 0 - self._meta = Batch() + self._meta: Batch = Batch() self.reset() def __len__(self) -> int: