1

pybullet-gym用来评估我的策略模型并可视化它的交互;但是,当它使用以下示例代码(取自其自己的 repo)渲染环境时,jupyter notebook 崩溃并重新启动其内核:

import gym
import pybulletgym

env = gym.make('HumanoidPyBulletEnv-v0')
env.render()
env.reset()

这是shell中的消息:

startThreads creating 1 threads.
starting thread 0
started thread 0 
argc=2
argv[0] = --unused
argv[1] = --start_demo_name=Physics Server
ExampleBrowserThreadFunc started
X11 functions dynamically loaded using dlopen/dlsym OK!
X11 functions dynamically loaded using dlopen/dlsym OK!
Creating context
Created GL 3.3 context
Direct GLX rendering context obtained
Making context current
GL_VENDOR=NVIDIA Corporation
GL_RENDERER=GeForce MX150/PCIe/SSE2
GL_VERSION=3.3.0 NVIDIA 450.102.04
GL_SHADING_LANGUAGE_VERSION=3.30 NVIDIA via Cg compiler
pthread_getconcurrency()=0
Version = 3.3.0 NVIDIA 450.102.04
Vendor = NVIDIA Corporation
Renderer = GeForce MX150/PCIe/SSE2
b3Printf: Selected demo: Physics Server
startThreads creating 1 threads.
starting thread 0
started thread 0 
MotionThreadFunc thread started
ven = NVIDIA Corporation
ven = NVIDIA Corporation

XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":1"
      after 21540 requests (21540 known processed) with 0 events remaining.

4

0 回答 0