def visualize_interaction(self, interaction_callback=None, done_callback=None, keys_map=None, width_scr_scale=180, height_scr_scale=180): from simple_rl.utils.mdp_visualizer import visualize_interaction from .cookie_crumb_visualizer import _draw_state trajectory = visualize_interaction( self, _draw_state, interaction_callback=interaction_callback, done_callback=done_callback, keys_map=keys_map, scr_width=self.width * width_scr_scale, scr_height=self.height * height_scr_scale, mdp_class='cookie_crumb') return trajectory
def visualize_interaction(self): from simple_rl.utils import mdp_visualizer as mdpv from simple_rl.tasks.grid_world.grid_visualizer import _draw_state mdpv.visualize_interaction(self, _draw_state)
def visualize_interaction(self, model): from simple_rl.utils import mdp_visualizer as mdpv from simple_rl.tasks.ltl_amdp.cleanup_visualizer import draw_state mdpv.visualize_interaction(self, draw_state) input("Press anything to quit ")
def visualize_interaction(self): from simple_rl.utils.mdp_visualizer import visualize_interaction from .taxi_visualizer import _draw_state visualize_interaction(self, _draw_state) raw_input("Press anything to quit ") sys.exit(1)
def visualize_interaction(self): from simple_rl.utils.mdp_visualizer import visualize_interaction from taxi_visualizer import _draw_state visualize_interaction(self, _draw_state) raw_input("Press anything to quit ") sys.exit(1)
def visualize_interaction(self): from simple_rl.utils import mdp_visualizer as mdpv from simple_rl.tasks.cleanup.cleanup_visualizer import draw_state mdpv.visualize_interaction(self, draw_state) input("Press anything to quit ")