aidudezzz / deepbots

A wrapper framework for Reinforcement Learning in the Webots robot simulator using Python 3.
https://deepbots.readthedocs.io/
GNU General Public License v3.0
230 stars 49 forks source link

Is it possible to run several simulations in parallel? #112

Closed DeeDive closed 2 years ago

DeeDive commented 2 years ago

Dear authors!

Thanks for the great interface. I am wondering that is it possible to run several simulations in parallel? Or maybe this is more of a question related to webots. By doing that we can speed up the evaluations significantly.

Millions of thanks in advance!

tsampazk commented 2 years ago

Hey @DeeDive! Thank you for your interest in deepbots. Unfortunately, no, deepbots doesn't support parallel simulations by default.

You could use deepbots to build something though, e.g. using the emitter-receiver scheme and add multiple robots to a world and gather experience from all of them simultaneously, speeding up the training. This would require creating a communication scheme between the robots and the supervisor.

You can take a look at the work done on this PR.