Update env.py
Browse files
env.py
CHANGED
|
@@ -83,7 +83,7 @@ class RoboCasaEnv(RoboCasaGymEnv):
|
|
| 83 |
camera_names=camera_name,
|
| 84 |
camera_widths=observation_width,
|
| 85 |
camera_heights=observation_height,
|
| 86 |
-
|
| 87 |
split=split,
|
| 88 |
**kwargs
|
| 89 |
)
|
|
|
|
| 83 |
camera_names=camera_name,
|
| 84 |
camera_widths=observation_width,
|
| 85 |
camera_heights=observation_height,
|
| 86 |
+
enable_render=(render_mode is not None),
|
| 87 |
split=split,
|
| 88 |
**kwargs
|
| 89 |
)
|