anhttran / 3dmm_cnn

Regressing Robust and Discriminative 3D Morphable Models with a very Deep Neural Network
Other
857 stars 254 forks source link

"freeglut (c): ERROR: Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow" when running the testModel_PoseExpr.py demo. #14

Closed medivhna closed 7 years ago

medivhna commented 7 years ago
> Prepare image ~/3dmm_cnn/demoCode/data/1.jpg:
    Number of faces detected: 1
> CNN Model loaded to regress 3D Shape and Texture!
*****************************************
** Caffe loading    : 1.468 s
** Image cropping   : 2.259 s
** 3D Modeling      : 1.975 s
*****************************************
> Pose & expression estimation
load ../3DMM_model/BaselFaceModel_mod.h5
freeglut (c):  ERROR:  Internal error <FBConfig with necessary capabilities not found> in function fgOpenWindow

I found the same issue on google, but cannot work. Is there a trouble shooting about it?

medivhna commented 7 years ago

I get a solution of this issue.

I run the demo in a VNC Gnome GUI. Some functions of OpenGL is limited in this environment. Just run the demo in CLI environment can avoid this error.

anhttran commented 7 years ago

It is great. I am glad that you found the solution.

yukiiiteru commented 5 years ago

@medivhna But...as the README.md says that the result should be shown in a window, how to see the content in that window in CLI environment?