Can anyone tell me the proper way to train multiple agents simultaneously? Just launching multiple environments crashes and seems to not work because the socket for communication with python is already in use (or something else is wrong…).
I am asking this because i am unsure if it is intended that you can only run a single environment.
Thank you!
Edit:
I am running Windows 10 - the v1.1.1 from the other thread and python 3.5
@EliasB I thank you for explaining this. Yes, setting the worker id works. If you use multiple VMs/containers then each of them can also train their own agents, I suspect a few people will use that approach as well. Thank you for sharing this trick!
Hi. I’m running multiple environment everything good but after a while CPU usage reduced for each instance. Each instance use almost 20% of CPU power at beginning and it reduced to 1% after almost 100.000 step. I have only 4 agent and i see this behavior with just a simple loop with random action (no any learning)