Skip to content

Torch ffi is depracated on person detector #61

@archenroot

Description

@archenroot

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions