You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the sb3_highway_dqn.ipynb script, I get the following error when attempting to visualize the episodes:
/usr/local/lib/python3.10/dist-packages/highway_env/envs/common/abstract.py in _automatic_rendering(self)
335 """
336 if self.viewer is not None and self.enable_auto_render:
--> 337 if self._record_video_wrapper and self._record_video_wrapper.video_recorder:
338 self._record_video_wrapper.video_recorder.capture_frame()
339 else:
AttributeError: 'RecordVideo' object has no attribute 'video_recorder'
When I ran the script a week or so ago, it worked fine and I was able to record and watch the simulations, so I'm not sure why it no longer works. I've disconnected and deleted the runtime as well. I'm fairly new to Python, so maybe I'm doing something wrong.
The text was updated successfully, but these errors were encountered:
When using the sb3_highway_dqn.ipynb script, I get the following error when attempting to visualize the episodes:
/usr/local/lib/python3.10/dist-packages/highway_env/envs/common/abstract.py in _automatic_rendering(self)
335 """
336 if self.viewer is not None and self.enable_auto_render:
--> 337 if self._record_video_wrapper and self._record_video_wrapper.video_recorder:
338 self._record_video_wrapper.video_recorder.capture_frame()
339 else:
AttributeError: 'RecordVideo' object has no attribute 'video_recorder'
When I ran the script a week or so ago, it worked fine and I was able to record and watch the simulations, so I'm not sure why it no longer works. I've disconnected and deleted the runtime as well. I'm fairly new to Python, so maybe I'm doing something wrong.
The text was updated successfully, but these errors were encountered: