Closed ethanabrooks closed 2 years ago
I am suggesting adding a lock here because otherwise there is a race condition on ObjMesh.cache when using gym-miniworld environments in a parallel environments setting, e.g. SubprocVecEnv.
ObjMesh.cache
SubprocVecEnv
Actually it looks like python just gives each process a separate copy of the cache. My mistake!
I am suggesting adding a lock here because otherwise there is a race condition on
ObjMesh.cache
when using gym-miniworld environments in a parallel environments setting, e.g.SubprocVecEnv
.