Visual Observation + Demo Recorder, still uses camera in scene
Describe the bug While training with offline behavioral cloning and a CameraSensor, the agent seems to use the camera in scene rather than the camera data from the demo file. Could be that I'm using it wrong, I would love any pointers/help you may have :)
To Reproduce
- Create an agent with a visual observation (I also had some vector observation from heuristic script, not relevant)
- Play the scene to record demo file.
- Start training the agent with the demo file.
- Test to move around the camera in the scene while training. Expected: Agent keeps learning independently of the manual camera movement. Actual: Agent actions are directly affected by how I move the camera in the scene, and learns poorly/not at all.
Environment (please complete the following information):
- OS + version: Windows 10
- ML-Agents version: 0.11.0
- TensorFlow version: 1.7.1
- Environment: Custom Project
Maybe I am just using this in the wrong way. If you think this might be an actual bug though, I will try reproducing this in an example environment instead.
Moving the camera around during training will impact agent actions based on the policy learned from the demo files. This will not impact model training since the only interaction between the environment and model during behavioral cloning is for inference.
Aha then it makes sense, I have maybe just misunderstood the offline behavior cloning. From reading the documentation I didn't realize that it is also running inference at the same time as it is learning. Do I still need to have my agent in the scene? Thank you very much for your clarification!
We can close this issue now. Based on your reply in the other thread I got my question answered.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.