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 746 forks source link

OSX run.sh "*.raw: No such file or directory" #87

Closed seanfeeley closed 6 years ago

seanfeeley commented 6 years ago

Hello

I get this error when running the python script run.sh

/Users/sean_feeley/usr/local/torch/install/bin/luajit: ...ley/usr/local/torch/install/share/lua/5.1/trepl/init.lua:389: ...ley/usr/local/torch/install/share/lua/5.1/trepl/init.lua:389: ...y/usr/local/torch/install/share/lua/5.1/cutorch/init.lua:2: cannot load '/Users/sean_feeley/usr/local/torch/install/lib/lua/5.1/libcutorch.so'
stack traceback:
    [C]: in function 'error'
    ...ley/usr/local/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
    main.lua:12: in main chunk
    [C]: in function 'dofile'
    ...ocal/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
    [C]: at 0x010729ee70
ls: *.txt: No such file or directory
/Users/sean_feeley/usr/local/torch/install/bin/luajit: ...ley/usr/local/torch/install/share/lua/5.1/trepl/init.lua:389: ...ley/usr/local/torch/install/share/lua/5.1/trepl/init.lua:389: ...y/usr/local/torch/install/share/lua/5.1/cutorch/init.lua:2: cannot load '/Users/sean_feeley/usr/local/torch/install/lib/lua/5.1/libcutorch.so'
stack traceback:
    [C]: in function 'error'
    ...ley/usr/local/torch/install/share/lua/5.1/trepl/init.lua:389: in function 'require'
    process.lua:16: in main chunk
    [C]: in function 'dofile'
    ...ocal/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
    [C]: at 0x0101c58e70
ls: *.raw: No such file or directory

I am running on OSX.

Looking through the other Issues, I can see that the download script has been an issue before. I've run the download script multiple times to the same effect. Bellow is the structure of my vrn folder.

.
├── LICENSE
├── README.org
├── docker
│   ├── Dockerfile
│   └── installation.sh
├── download.sh
├── examples
│   ├── AFLW_image00046.jpg
│   ├── AFLW_image00095.jpg
│   ├── AFLW_image00190.jpg
│   ├── AFLW_image00656.jpg
│   ├── asj.jpg
│   └── scaled
├── face-alignment
│   ├── 2D-FAN-300W.t7
│   ├── LICENCE
│   ├── README.md
│   ├── facedetection.lua
│   ├── facedetection_dlib.lua
│   ├── main.lua
│   ├── opts.lua
│   └── utils.lua
├── output
├── process.lua
├── raw2obj.py
├── readvol.m
├── rendervol.m
├── run.m
├── run.sh
├── vis.py
└── vrn-unguided.t7
AaronJackson commented 6 years ago

luarocks install cutorch should sort that out. You have an Nvidia GPU don't you?

seanfeeley commented 6 years ago

Ah... that might be it. I'm running on a Macbook pro with a Radeon Pro 560 and an Intel HD Graphics 630.

My studio doesn't have any NVIDIA mac's so I think I'll need to a install a CENTOS 7 duel boot on one of our NVIDIA PCs.

Thanks for your quick response.