Closed DeqiangXiao closed 6 years ago
Hi @DeqiangXiao. Can you let me know what version of Python you are using and where you got fb.python from? If you look at the installation example in the bottom of the readme, it has a link to where to grab the dependencies from.
The python used is python-2.7.14, i got the fb.python from https://github.com/facebook/fblualib.git, and configured it as the installation guidance in the readme file.
Unfortunately I am not sure then since this appears to be an issue with your Python setup. Perhaps you could try creating a fresh Python virtual environment and install the necessary Python dependencies to see if that helps.
OK, Thanks for your suggestion.
Hi Aaron, I tried to reconfigure my python-2.7, but the error still occurs. I noticed that fb.python is used in face alignment which is implemented by lua originally, a python version of face alignment (https://github.com/1adrianb/face-alignment) was released recently, fb.python seems not be necessary in the python version code. So can you provide a new VRN code based on python implemented face alignment? Thanks!
No, that will be too time consuming. How did you configure your Python and what OS and version are you running?
I configured the python2.7 on a linux server with Ubuntu 14.04.5 LTS.
Yes but how did you configure Python? I suggested creating a virtualenv. Did you try that?
I configured python under my home folder, and updated the system path accordingly, but it doesn't work. I will try to configure python with virtualenv as your suggestion. Thanks very much!
With virtualenv or without? If you use virtualend you just call activate and it becomes your default environment.
Virtualenv is not used when reconfigure python under my own home folder. I'm trying to configure python with virtualenv to see if it can help.
Hi Aaron, The 'fb.python.lib' loading error is resolved, this error is caused by torch, I updated torch and its dependences in our linux server, fbpython linking error disappeared.
Good! Glad you got it working. Thanks
Hi!
May I know which version of torch is finally compiled to get it working? I am encountering the same issue here with the following environment.
Thanks!
Hi @Jim61C , the latest version was used, I resolved this issue by re-installing Torch as the guide of link http://torch.ch/docs/getting-started.html#_
Thanks for the reply! May I know which CUDA version and cudnn are you using?
cuda 8.0 cudnn 5.1 NVIDIA Titan Xp
Thank you! I will give a shot!
Hi Aaron, Thanks for sharing your work! The outcome of 3D face reconstruction with your method (online model testing) is really good. To test your code in further, I downloaded your github code and tried to configure its environment on a linux server of our lab (Ubuntu 14.04.5 LTS, kernel 3.16.0-77-generic; Python 2.7.14; Torch7). Finally, I successfully configured all dependences according to the guidance on VRN github webpage (https://github.com/AaronJackson/vrn) , but an lib linking error occurs when run "run.sh" as follows:
I searched this issue on Google, it seems that the python interpreter version for fb.python module used (PyUnicodeUCS2) is not consistent with the system python interpreter version (PyUnicodeUCS4). I tried to reconfigure "fblualib" for several times, but doesn't work. Do you have any idea for this issue? Any help is appreciated!
Deqiang Xiao Biomedical Research Imaging Center (BRIC) University of North Carolina at Chapel Hill, US