nailo2c / pycon-2017-tutorial-rl Goto Github PK
View Code? Open in Web Editor NEWExample code of Logistic Regression, MLP, Policy Gradient for 2017 PyCon
Example code of Logistic Regression, MLP, Policy Gradient for 2017 PyCon
Hi nailo2c:
我是上個禮拜參加pycon2017課程的同學,我自己在自己的機器上面不跑docker情況下用python3 virtualenv下,把該裝的lib都裝了,跑run_MountainCar.py是可以正常運作。
但是要執行pg_tf.py (使用 xvfb-run -s "-screen 1 1400x900x24" python pg_tf.py)
就會出現
pyglet.gl.glx_info.GLXInfoException: pyglet requires an X server with GLX
參考一些網站有去apt-get org-dev libglu1-mesa libgl1-mesa-dev libxinerama1 libxcursor1
本機也有裝顯示卡driver, xvfb , cuda
$echo $DISPLAY 是:1 也沒問題
作業系統是ubuntu 16.04
不知道nailo2c有遇過這個問題嗎?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.