Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Torch ffi is depracated on person detector #61

Open
archenroot opened this issue Jan 13, 2017 · 1 comment
Open

Torch ffi is depracated on person detector #61

archenroot opened this issue Jan 13, 2017 · 1 comment

Comments

@archenroot
Copy link

archenroot commented Jan 13, 2017

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
Copy link

kaisark commented Sep 26, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants