You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can I import an arbitrary lua package and use one of its classes in python?
I have been trying to load the file from the installation directory directly but it doesn't seem to load any of the methods of the class.
Can I import an arbitrary lua package and use one of its classes in python?
I have been trying to load the file from the installation directory directly but it doesn't seem to load any of the methods of the class.
myclass =PyTorchHelpers.load_lua_class('/home/user/torch/install/share/lua/5.1/mypackage/init.lua','myclass')
Any help would be appreciated here.
The text was updated successfully, but these errors were encountered: