Import nn module written in Lua?

Excited to see pytorch.
I am wondering if there is a way to call self-defined nn module written in lua using pytorch, which will make the code re-usage more easily. The same name project `pytorch’ can do that by using PyTorchHelpers.load_lua_class.


there’s no clean and proper way to do this. you can maybe use lutorpy for now. We plan to add support for a proper bridge in the next couple of months.


On a related note: we will also need a network binary conversion.
So we can load old Torch7 nets

@Eugenio, see: Convert/import Torch model to PyTorch

1 Like