When I'm trying to run notebook in a Linux server environment, it disables monitor device.
Thus I have encountered this error at game.init():
Failed to connect to the Mir Server
---------------------------------------------------------------------------
ViZDoomErrorException Traceback (most recent call last)
<ipython-input-33-070898310509> in <module>()
9 game.set_doom_scenario_path("deadly_corridor.wad")
10
---> 11 game.init()
12
13 game.set_window_visible(False)
ViZDoomErrorException: Could not initialize SDL video:
Failed to connect to the Mir Server
This problem could be solved if we add game.set_window_visible(False) before game.init().
When I'm trying to run notebook in a Linux server environment, it disables monitor device.
Thus I have encountered this error at
game.init()
:This problem could be solved if we add
game.set_window_visible(False)
beforegame.init()
.May I suggest adding a
try exception
block?Thanks for writing this awesome repo.