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

How to communicate between torch and some other program language? #55

Open
hfxunlp opened this issue Sep 27, 2016 · 3 comments
Open

How to communicate between torch and some other program language? #55

hfxunlp opened this issue Sep 27, 2016 · 3 comments

Comments

@hfxunlp
Copy link

hfxunlp commented Sep 27, 2016

Torch and it's extension is very good for design, train and test models, It is convenient and fast, but after all this procedure, I need to put my models into services, how could I communicate between torch and some other languages, like java, python, C#, etc.

@hfxunlp
Copy link
Author

hfxunlp commented Sep 27, 2016

It is not easy to design UI with Lua, I try to communicate between torch and C# with LuaSocket, but get into trouble now.

@hfxunlp
Copy link
Author

hfxunlp commented Sep 27, 2016

I hope there could be a package that can easily communicate between torch and another popular language like python or Java, It is easy to communicate between python or Java with the other language.

@hfxunlp
Copy link
Author

hfxunlp commented Sep 27, 2016

I try to use json and socket to communicate torch with C# and python, but both get into trouble, because I can not deal with multi-thread in a proper way with luasocket, I'm trying to use luasocketevent now.

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

1 participant