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
unprotected error in call to Lua API (module '../torch_model' not found:
no field package.preload['../torch_model']
no file '/home/tushar/.luarocks/share/lua/5.1////torch_model.lua'
...
I have a
torch_model.lua
file in my parent directory (/home/tushar/
) that I'm trying to reference from/home/tushar/test
using its relative path.I get the following error
Absolute paths also fail for me.
If the .lua is in the same directory (or a child directory) then it works fine. Is there any other way to reference files in my parent directory?
The text was updated successfully, but these errors were encountered: