Fix: Bibtex in README mixed between tabs & spaces

This commit is contained in:
Dominik Moritz Roth 2023-10-11 11:59:02 +02:00
parent 5f3c28e8f0
commit bc150f5a4d

View File

@ -186,14 +186,13 @@ class RawInterfaceWrapper(gym.Wrapper):
@property @property
def context_mask(self) -> np.ndarray: def context_mask(self) -> np.ndarray:
""" """
Returns boolean mask of the same shape as the observation space. Returns boolean mask of the same shape as the observation space.
It determines whether the observation is returned for the contextual case or not. It determines whether the observation is returned for the contextual case or not.
This effectively allows to filter unwanted or unnecessary observations from the full step-based case. This effectively allows to filter unwanted or unnecessary observations from the full step-based case.
E.g. Velocities starting at 0 are only changing after the first action. Given we only receive the E.g. Velocities starting at 0 are only changing after the first action. Given we only receive the
context/part of the first observation, the velocities are not necessary in the observation for the task. context/part of the first observation, the velocities are not necessary in the observation for the task.
Returns: Returns:
bool array representing the indices of the observations bool array representing the indices of the observations
""" """
return np.ones(self.env.observation_space.shape[0], dtype=bool) return np.ones(self.env.observation_space.shape[0], dtype=bool)
@ -276,7 +275,7 @@ To cite this repository in publications:
author = {Otto, Fabian and Celik, Onur and Roth, Dominik and Zhou, Hongyi}, author = {Otto, Fabian and Celik, Onur and Roth, Dominik and Zhou, Hongyi},
abstract = {Fancy Gym: Unifying interface for various RL benchmarks with support for Black Box approaches.}, abstract = {Fancy Gym: Unifying interface for various RL benchmarks with support for Black Box approaches.},
url = {https://github.com/ALRhub/fancy_gym}, url = {https://github.com/ALRhub/fancy_gym},
organization = {Autonomous Learning Robots Lab (ALR) @ KIT}, organization = {Autonomous Learning Robots Lab (ALR) @ KIT},
} }
``` ```