lupoglaz / GodotAIGym

Communicating with godot engine through shared memory
https://lupoglaz.github.io/GodotAIGym/
MIT License
214 stars 27 forks source link

Can't find Project Settings referenced in "Speedup Tutorial" #17

Open oortlieb opened 3 years ago

oortlieb commented 3 years ago

My Project Settings don't seem to have Physics > Common > Timestep > Method. Any guidance would be appreciated!

Godot version: Godot Engine v3.2.3.stable.custom_build.31d0f8ad8

image

lupoglaz commented 3 years ago

Here is my build (this commit) Screenshot from 2021-04-02 17-46-18 Something is wrong with your build. As for the guide, I am working on a 3d example and tutorial series on how to setup everything from ground up. But it takes time.

oortlieb commented 3 years ago

Thanks for the info -- I'll try re-building that commit!

lupoglaz commented 3 years ago

Hi, I am wrong, double checked and this field is gone now in version 3.2.3. Currently I am running tests to see if speeding up timestep gives the same behavior as previously.

lupoglaz commented 3 years ago

Ok, so I tested tutorial with 3.2.3 stable. Everything works, training works and reaches the same score as before. Seems like the timestep parameter is not needed anymore. I'll note it down in the tutorial.

oortlieb commented 3 years ago

I've tried to get speedup working based on the current tutorial, but haven't been able to figure out how to get it to work. If you have a chance to update the tutorial, I would be happy to try it out!

Generally speaking, I am interested in speeding up training -- another option mentioned at the end of the tutorial is trying to run the environment multiple times in parallel to make data collection faster. I have attempted running multiple environments, but as the tutorial predicts, it seems that there are issues with the shared memory library. I have tried spawning each environment with a unique --handle option, but that does not fix the problem.