aqeelanwar / PEDRA

Programmable Engine for Drone Reinforcement Learning Applications
MIT License
267 stars 59 forks source link

An error occurred during operation #127

Open XDU-HJC opened 1 year ago

XDU-HJC commented 1 year ago

File "", line 1, in File "C:\Users\DRL\Desktop\PEDRA_pytorch\algorithms\DeepPPO.py", line 173, in DeepPPO new_state[name_agent] = agent[name_agent].get_state() File "C:\Users\DRL\Desktop\PEDRA_pytorch\network\agent.py", line 131, in get_state camera_image = get_MonocularImageRGB(self.client, self.vehicle_name) File "C:\Users\DRL\Desktop\PEDRA_pytorch\functions.py", line 199, in get_MonocularImageRGB img_rgba = img1d.reshape(response.height, response.width, 3) ValueError: cannot reshape array of size 1 into shape (0,0,3)