Giter Club home page Giter Club logo

Comments (6)

xleeeon avatar xleeeon commented on May 22, 2024

@AaronJackson

from vrn.

AaronJackson avatar AaronJackson commented on May 22, 2024

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.

xleeeon avatar xleeeon commented on May 22, 2024

@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.

AaronJackson avatar AaronJackson commented on May 22, 2024

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.

xleeeon avatar xleeeon commented on May 22, 2024

@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.

AaronJackson avatar AaronJackson commented on May 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.