jaclearn.rl.envs.gym#

Classes

Functions

Class GymAtariRLEnv

class GymAtariRLEnv[source]#

Bases: GymRLEnv

__init__(name, *args, live_lost_as_eoe=True, **kwargs)[source]#
__new__(**kwargs)#
action(action)#
append_stat(name, value)#
clear_stats()#
evaluate_one_episode(func)#
finish(*args, **kwargs)#
play_one_episode(func, ret_states=False, ret_actions=False, restart_kwargs=None, finish_kwargs=None, max_steps=10000)#
render(mode='human', close=False)#
restart(*args, **kwargs)#
property action_space#
property current_state#
property gym#
property stats#
property unwrapped#

Class GymPreventStuckProxy

class GymPreventStuckProxy[source]#

Bases: ProxyRLEnvBase

__init__(other, max_repeat, action)[source]#
__new__(**kwargs)#
action(action)#
append_stat(name, value)#
clear_stats()#
evaluate_one_episode(func)#
finish(*args, **kwargs)#
play_one_episode(func, ret_states=False, ret_actions=False, restart_kwargs=None, finish_kwargs=None, max_steps=10000)#
restart(*args, **kwargs)#
property action_space#
property current_state#
property proxy#
property stats#
property unwrapped#

Class GymRLEnv

class GymRLEnv[source]#

Bases: SimpleRLEnvBase

__init__(name, dump_dir=None, force_dump=False, state_mode='DEFAULT')[source]#
__new__(**kwargs)#
action(action)#
append_stat(name, value)#
clear_stats()#
evaluate_one_episode(func)#
finish(*args, **kwargs)#
play_one_episode(func, ret_states=False, ret_actions=False, restart_kwargs=None, finish_kwargs=None, max_steps=10000)#
render(mode='human', close=False)[source]#
restart(*args, **kwargs)#
property action_space#
property current_state#
property gym#
property stats#
property unwrapped#

Functions

get_env_lock()[source]#