I tried to run the Virtual Camera example and use the --onnx_export_path argument. But it fails with KeyError: 'camera_2d'. camera_2d is the name of the obs property here. In other examples where observations are stored inside a property named obs this error does not occur. I tried the RobotFPS example aswell where obs is used and it worked. But then I renamed obs to robot in get_obs() and get_obs_space() and it failed with KeyError: 'robot'.
Steps to reproduce:
- Get latest Godot RL from pip.
- Execute
python examples/stable_baselines3_example.py --timesteps=400 --onnx_export_path=model.onnx (I had to rename export_model_as_onnx to export_ppo_model_as_onnx for this step, because this rename was not published to pip yet I think)
- Open the Virtual Camera example in Godot and hit play.
I tried to run the Virtual Camera example and use the
--onnx_export_pathargument. But it fails withKeyError: 'camera_2d'.camera_2dis the name of the obs property here. In other examples where observations are stored inside a property namedobsthis error does not occur. I tried the RobotFPS example aswell whereobsis used and it worked. But then I renamedobstorobotinget_obs()andget_obs_space()and it failed withKeyError: 'robot'.Steps to reproduce:
python examples/stable_baselines3_example.py --timesteps=400 --onnx_export_path=model.onnx(I had to renameexport_model_as_onnxtoexport_ppo_model_as_onnxfor this step, because this rename was not published to pip yet I think)