google-deepmind / google-deepmind/lab

'Connection Interrupted' problem

Open
#101 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
7.4k
Forks
1.4k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I am problem with Lab: the screen shows 'Connection Interrupted' and agent stops esponding to any command (passed via env.step function).
Here is how it looks like:
https://youtu.be/vL842dKvG0k

Here is how I initialize Lab:
```
config = {
'fps': str(60),
'width': str(320),
'height': str(240)
}
level = 'seekavoid_arena_01'
env = deepmind_lab.Lab(level, ['RGBD', 'RGB'], config=config, renderer='hardware')
```
Then during agent evaluation I capture RGB observations and create video files out of it.
I create an Lab environment once, single instance but I do it in separate multiprocessing.Process object.
And I use Python3 + pip version of the environment.
Interesting thing is that ALWAYS exaclty 20 video files out of 100 are having this issue. Remaining 80 are fine. I repeated my video files generation 4 times - always 20 file are broken.
Even more interesting thing is that 'Connection innterrupted' occurs ALWAYS at the same subsequent episodes (I use env.reset with seed=0) EVEN when I use different environments (checked Seek Void arena and Stairway to melon). So always 4th episode is broken, then 6th ... and finally 87th.

Please check if there is anything that could fix this problem.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.