我正在尝试使用 q Learning 来自动化我的游戏,并正在考虑使用 colab 来获得一些额外的 GPU 支持。安装需求并运行代码后,colab 给出以下错误:
> error:
> Traceback (most recent call last)
<ipython-input-16-28b090095233> in <module>()
5
6 pygame.font.init()
----> 7 pygame.display.list_modes()
8 pygame.init()
9
>error: video system not initialized
Run Code Online (Sandbox Code Playgroud)
如果有人可以解决这个错误或者告诉我如何使用VNC来解决这个问题。
我pygame .init()也尝试过pygame.display.list_modes()