8000 GitHub - ebetica/python_lua_tcp
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ebetica/python_lua_tcp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This code helps you hook up torch to Python. Just copy it into your codebase, and require bridge to continue. See example for example. Maybe someday it'll be a luarocks installable thing :)

pip3 install pyzmq six
luarocks install lzmq
luarocks install struct

vs: fb.python: Uses TCP for communication, so it'll be slower to transfer large tensors but probably easier to install. Also will work across the network if you really wanted to control a remote python instance somewhere... but that's not implemented and will require some small tweaks.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0