ray.rllib.env.env_runner.EnvRunner.assert_healthy#
- abstract EnvRunner.assert_healthy()[source]#
Checks that self.__init__() has been completed properly.
Useful in case an
EnvRunner
is run as @ray.remote (Actor) and the owner would like to make sure the Ray Actor has been properly initialized.- Raises:
AssertionError – If the EnvRunner Actor has NOT been properly initialized.