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.51k stars 746 forks source link

err!!! run "run.m" in matlab #3

Closed lg12170226 closed 7 years ago

lg12170226 commented 7 years ago

/root/torch/install/bin/lua: main.lua:54: '=' expected near 'continue' stack traceback: C: in function 'dofile' .../torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk

please help? i'm newer

AaronJackson commented 7 years ago

How long ago did you install Torch? Maybe it is too old, but this is an issue with the landmark detector. Did you modify any of the code?

1adrianb commented 7 years ago

@lg12170226 It looks to me that it didn't recognize the goto syntax. goto was introduced in lua 5.2 and is also suported in the newer version of luajit. If you didn't modified the code please check that you are using an updated verion of lua/luajit.