envpool
envpool copied to clipboard
Procgen Integration Draft
Description
Continued Procgen integration progress with @LeoGuo98 together.
A few things:
-
globalGameRegistry somehow doesn't successfully register each game while bazel build & compile. Temporary solution is just write a patch for each game to return a shared_ptr<Game> in this commit.
-
(Unsolved Problem) The batch size for the StateBufferQueue seems to be 0, even if we set it explicitly, which leads to division by zero error. We haven't figured out what's the cause behind it. The env._recv() and env._reset() is the "crash entry point". See details comments in this commit.
We will continue look into this. Meanwhile, it would be of great help if @Trinkle23897 could help take a look and shed some hints on what we might have done wrong.