We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 526dd50 commit d522aa8Copy full SHA for d522aa8
balrog/environments/crafter/env.py
@@ -144,7 +144,7 @@ def describe_env(
144
obj_info_list = []
145
146
facing = info["player_facing"]
147
- max_y, max_x = semantic.shape
+ max_x, max_y = semantic.shape
148
target_x = center[0] + facing[0]
149
target_y = center[1] + facing[1]
150
@@ -258,8 +258,7 @@ def describe_frame(
258
259
return result.strip(), describe_inventory(info)
260
except Exception:
261
- breakpoint()
262
- return "Error, you are out of the map."
+ return "Error, you are out of the map.", describe_inventory(info)
263
264
265
class CrafterLanguageWrapper(gym.Wrapper):
0 commit comments