Comments (6)
from vrn.
The setup of cuda and cudnn seems fine. The libstdc++ error in matlab is because it was compiled outside of matlab using a much newer version of libstdc++ (i.e. the system version). Are you using Ubuntu 17.10 or something very new like that? You can try forcing MATLAB to use the system libstdc++ by starting it like so:
LD_PRELOAD=/usr/lib64/libstdc++.so.6 matlab -desktop
As for the error in your first screen shot - I am unsure. Maybe your matplotlib version is much newer than most others. However, it's likely that you can just comment this out from the Python portion of utils.lua
, since no displaying is done from the Torch code.
from vrn.
@AaronJackson Thanks for replying. I think I can ignore running in terminal.
I am using Ubuntu 16.04.3 LTS, what version of libstdc++ should I use.
I tried your solution in MATLAB using:
LD_PRELOAD=/usr/lib64/libstdc++.so.6 matlab -desktop
Looks like the first error was gone. However, I am still getting like this.
`device =
'gpu'
ERROR: ld.so: object '/usr/lib64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/bin/bash: line 0: cd: face-alignment: No such file or directory
ERROR: ld.so: object '/usr/lib64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/lib64/libstdc++.so.6' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
/home/eddie/usr/local/torch/install/bin/luajit: cannot open main.lua: No such file or directory
stack traceback:
[C]: in function 'dofile'
...ocal/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
[C]: at 0x00405d50
Error using run (line 38)
Failed to run Torch7 script.`
from vrn.
Upgrading/Downgrading your libstdc++ will break the system so I'd recommend not messing with it. You can try compiling Torch from inside matlab, but to be honest, I'm not sure it is worth it unless you are trying to compare with our work (the matlab version should be used for this). Focus on getting the Python version working otherwise.
from vrn.
@AaronJackson I am very interested in your work, and I want to see if there's any improvements when I am using OpenGL instead of WebGL, and if I can get a better face model(better texture or resolution) when I am using local build comparing to the demo you showed in your website.
However, may I ask which Linux system and some prerequisites are you using to make the vrn work.
from vrn.
It is unlikely that running the code locally will give you much improvement in terms of quality. The faces are still normalised to have a diagonal of 90px and the model is the same.
To answer your question about your system:
- CentOS 7.3 (kernel-3.10.0)
- NVIDIA Titan X (Maxwell) or 1080 Ti (Pascal), depending on which machine I was using
- CUDA 8.0 (7.5 should also work)
- CuDNN 5.1
- Python 2.7
from vrn.
Related Issues (20)
- Maybe Helpful: Ubuntu 18.04 to suxessfull running vrn Howto/run-throuth with Cuda10.1 HOT 2
- benchmark on AFLW2000-3D HOT 2
- ICP on florence face dataset HOT 8
- Warp back onto original image
- API for website demo HOT 2
- ./run.sh using UBUNTU 18.04 failed. How can I solve this? Is there any thing wrong with the directory? HOT 10
- Error in Ubuntu 18.04 HOT 7
- NME HOT 1
- cannot open <2D-FAN-300W.t7> in mode HOT 1
- Are you going to release the train code? HOT 1
- I make a better one [https://github.com/WIKI2020/FacePose_pytorch]
- Running via Octave instead of Matlab HOT 6
- Error on Building thpp HOT 1
- windows 10 successful install? HOT 1
- Improve the result HOT 11
- Fail in main.lua : main.lua:52: '=' expected near 'continue' HOT 11
- Rendering Florence with 20 poses HOT 2
- Results in vrn-docker HOT 1
- Online demo HOT 2
- The face detector failed to find your face.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vrn.