Page 1 of 1

How can I acclerate my reinforcement learning porcess?

Posted: 23 Oct 2021, 13:04
by yifanzhou
Hello,
I am using reinforcement learning with remote API (python) and synchronous operation mode. But I find that it is very slow. I wonder if it can be accelerated.
(1) The render may take some time, so if it is possible to close the render? Or start the simulation in the terminal?
(2) I tried to change the remote API function operation mode but it seems only the "simx_opmode_blocking" works.
Thanks for any advice.

Re: How can I acclerate my reinforcement learning porcess?

Posted: 25 Oct 2021, 11:55
by coppelia
Hello,

you can start CoppeliaSim in headless mode, via the -h command line argument. Additionally, since you are using Python, I highly recommend to have a look at the ZeroMQ-based remote API, since it is much simple to use, and can possibly speed-up the behaviour of your client.

Cheers