torch / demos

Demos and tutorials around Torch7.
355 stars 301 forks source link

Torch ffi is depracated on person detector #61

Open archenroot opened 7 years ago

archenroot commented 7 years ago

I tried to run qlua rundemo.lua on person-detector. While pulled in refferenced FFI package the error changed to:

zangetsu@ares ~/data/proj/neural-networks/torch-demos/person-detector $ qlua rundemo.lua 
WARNING: 'torchffi' is now deprecated. All of its functionality has been
merged/integrated into 'torch'.

qlua: /usr/share/lua/5.1/torchffi/init.lua:68: declaration specifier expected near 'deserializefrom' at line 27
stack traceback:
    [C]: at 0x7f27f8a0f340
    [C]: in function 'cdef'
    /usr/share/lua/5.1/torchffi/init.lua:68: in main chunk
    [C]: in function 'require'
    rundemo.lua:18: in main chunk

The file executed Regards,

Ladislav

kaisark commented 6 years ago

Try commenting out the line in rundemo.lua: --require 'torchffi'