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
报错内容
Traceback (most recent call last):
File "D:\code\homework\ddpg_quadrotor\train.py", line 184, in
main()
File "D:\code\homework\ddpg_quadrotor\train.py", line 162, in main
avg_reward = run_evaluate_episodes(
File "D:\code\homework\ddpg_quadrotor\train.py", line 123, in run_evaluate_episodes
env.render()
File "D:\code\homework\ddpg_quadrotor\train.py", line 60, in render
self.env.render()
File "D:\anacondainstall\envs\rlnew\lib\site-packages\rlschool\quadrotor\env.py", line 166, in render
self.viewer = RenderWindow(task=self.task,
File "D:\anacondainstall\envs\rlnew\lib\site-packages\rlschool\quadrotor\render.py", line 489, in init
self.internal_map = Map(
File "D:\anacondainstall\envs\rlnew\lib\site-packages\rlschool\quadrotor\render.py", line 117, in init
self._initialize(init_drone_z)
File "D:\anacondainstall\envs\rlnew\lib\site-packages\rlschool\quadrotor\render.py", line 130, in _initialize
self._add_drone()
File "D:\anacondainstall\envs\rlnew\lib\site-packages\rlschool\quadrotor\render.py", line 152, in _add_drone
if geometry_hash(geom) == self.drone_vertex_list_hash:
File "D:\anacondainstall\envs\rlnew\lib\site-packages\rlschool\quadrotor\utils.py", line 113, in geometry_hash
md5 += str(geometry.visual.crc())
UnboundLocalError: local variable 'md5' referenced before assignment
The text was updated successfully, but these errors were encountered:
SusanJJJ
changed the title
渲染图像rendor=True时,代码报错,图像框一下子闪退 Windows10
渲染图像render=True时,代码报错,图像框一下子闪退 Windows10
Nov 27, 2023
报错内容
Traceback (most recent call last):
File "D:\code\homework\ddpg_quadrotor\train.py", line 184, in
main()
File "D:\code\homework\ddpg_quadrotor\train.py", line 162, in main
avg_reward = run_evaluate_episodes(
File "D:\code\homework\ddpg_quadrotor\train.py", line 123, in run_evaluate_episodes
env.render()
File "D:\code\homework\ddpg_quadrotor\train.py", line 60, in render
self.env.render()
File "D:\anacondainstall\envs\rlnew\lib\site-packages\rlschool\quadrotor\env.py", line 166, in render
self.viewer = RenderWindow(task=self.task,
File "D:\anacondainstall\envs\rlnew\lib\site-packages\rlschool\quadrotor\render.py", line 489, in init
self.internal_map = Map(
File "D:\anacondainstall\envs\rlnew\lib\site-packages\rlschool\quadrotor\render.py", line 117, in init
self._initialize(init_drone_z)
File "D:\anacondainstall\envs\rlnew\lib\site-packages\rlschool\quadrotor\render.py", line 130, in _initialize
self._add_drone()
File "D:\anacondainstall\envs\rlnew\lib\site-packages\rlschool\quadrotor\render.py", line 152, in _add_drone
if geometry_hash(geom) == self.drone_vertex_list_hash:
File "D:\anacondainstall\envs\rlnew\lib\site-packages\rlschool\quadrotor\utils.py", line 113, in geometry_hash
md5 += str(geometry.visual.crc())
UnboundLocalError: local variable 'md5' referenced before assignment
The text was updated successfully, but these errors were encountered: