AaronJackson / vrn

:man: Code for "Large Pose 3D Face Reconstruction from a Single Image via Direct Volumetric CNN Regression"
http://aaronsplace.co.uk/papers/jackson2017recon/
MIT License
4.52k stars 742 forks source link

There is still a mistake, is it related to the Lua 5.1.x version? #58

Closed zhoujianwen closed 6 years ago

zhoujianwen commented 6 years ago

I've installed your installation sample test, still wrong, and I'm going to crash.

[root@localhost vrn]# ./run.sh
Scanning directory for data...  
Found 5 images  
5 images require a face detector    
Initialising python libs... 
Initialising detector...    
/root/usr/local/torch/install/bin/luajit: getrf : Lapack library not found in compile time
 at /tmp/luarocks_torch-scm-1-4004/torch7/lib/TH/generic/THLapack.c:140
stack traceback:
    [C]: at 0x7f730c07a220
    [C]: in function 'inverse'
    ./utils.lua:54: in function 'transform'
    ./utils.lua:62: in function 'crop'
    main.lua:59: in main chunk
    [C]: in function 'dofile'
    ...ocal/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
    [C]: at 0x004064f0
ls: 无法访问*.txt: 没有那个文件或目录
ls: 无法访问*.raw: 没有那个文件或目录
AaronJackson commented 6 years ago

My installation example works for a pretty normal setup of CentOS. Please read the error messages and figure things out for yourself. In this case you don't have lapack, so install that and then recompile torch.