Last active
January 7, 2023 14:36
-
-
Save WhatIThinkAbout/0012119f978e33d8e4602577d4e13bf8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for step in range(2): | |
| action = Actions.East | |
| new_state, reward, terminated, truncated, info = env.step(action) | |
| info_str = f"{Actions(action): <5}: {new_state} reward = {reward}" | |
| target_str = f"Target Reached = {info['target_reached']}" | |
| env.render(info = {'side_info': [((10,100),info_str),((10,130),target_str)]}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment