PaddlePaddle / MetaGym

Collection of Reinforcement Learning / Meta Reinforcement Learning Environments.
Apache License 2.0
275 stars 59 forks source link

四旋翼飞行器 #36

Closed zayh921 closed 3 years ago

zayh921 commented 3 years ago

运行DDPG的例子出现以下问题 AttributeError: 'Quadrotor' object has no attribute 'reward_range'

w5688414 commented 3 years ago

I meet the same issue File "/Users/wugaosheng/anaconda3/lib/python3.7/site-packages/parl/env/continuous_wrappers.py", line 25, in __init__ gym.Wrapper.__init__(self, env) File "/Users/wugaosheng/anaconda3/lib/python3.7/site-packages/gym/core.py", line 217, in __init__ self.reward_range = self.env.reward_range AttributeError: 'Quadrotor' object has no attribute 'reward_range'

YuechengLiu commented 3 years ago

fixed in https://github.com/PaddlePaddle/RLSchool/pull/39