-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to replicate the circle trajectories like README.md #7
Comments
a couple thoughts: how often are the agent actions being updated? the training occurs at dt=0.2sec but in our experiments we use dt=0.1 for execution, which leads to much better performance. what is the model for robot dynamics? in training, our agents set their heading angle and velocity directly, so any extra acceleration-type constraints would cause the policy to be less useful. the agents were trained in crowds of up to 10 agents, but we saw good results in a few 20-agent setups. i wouldn't expect it be super reliable in generic 20-agent cases, especially if the simulator isn't quite like the one from training. the lack of symmetry is puzzling, since all agents should be moving identically and receiving identical observations (assuming they started in the same states). any idea if there is something in your simulation that would lead to asymmetric network inputs? |
Hi Michael, Thanks for your kind reply. The frequency of the execution is 10hz and any dynamics constraint didn't be introduced. The problem is that the observations for the RNN input computed by the observe function in the agent class have different order although the position and velocity information is symmetry. In this case, the RNN will output different commands for them. Here is a simple example.
After "unifying" the input, the trajectory can be plotted as below: |
@20chase not sure if still useful, but looking at this the agent sizes seem quite small in the picture, so maybe they are outside the range it was trained on (i think 0.2-0.8m radius if i remember correctly?). also your observations only have a couple agents in them - with that many agents the observation vector should be quite dense. |
Hi Michael,
Thanks for your great jobs.
I am running this repo on Stage simulator, while the circle trajectories are not like the figure in README.md.
Here is the trajectory I run in Stage.
Some parameters of my experiments as follows:
The code details:
Do I misunderstand the code or wrongly set the parameter?
Looking forward to your reply : )
The text was updated successfully, but these errors were encountered: