torch / torch7

http://torch.ch
Other
8.98k stars 2.38k forks source link

cannot open <> in mode r at /torch/pkg/torch/lib/TH/THDiskFile.c:673 #1221

Open n1cef1sh opened 4 years ago

n1cef1sh commented 4 years ago

/home/nicefish/torch/install/bin/luajit: cannot open <./home/nicefish/Detec/config/metaData.th7> in mode r at /home/nicefish/torch/pkg/torch/lib/TH/THDiskFile.c:673 stack traceback: [C]: at 0x7f302ad59460 [C]: in function 'DiskFile' /home/nicefish/torch/install/share/lua/5.1/torch/File.lua:405: in function 'load' DetectMalware_CNN.lua:134: in main chunk [C]: in function 'dofile' ...fish/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405d50

I used the full path but couldn't solve the problem.

iamsimran commented 4 years ago

/home/nicefish/torch/install/bin/luajit: cannot open <./home/nicefish/Detec/config/metaData.th7> in mode r at /home/nicefish/torch/pkg/torch/lib/TH/THDiskFile.c:673 stack traceback: [C]: at 0x7f302ad59460 [C]: in function 'DiskFile' /home/nicefish/torch/install/share/lua/5.1/torch/File.lua:405: in function 'load' DetectMalware_CNN.lua:134: in main chunk [C]: in function 'dofile' ...fish/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405d50

I used the full path but couldn't solve the problem.

Facing same issue with: cannot open </home/simranjeet_singh7/openface/demos/../models/openface/nn4.small2.v1.t7>

Did you find any fix for this?

Maxim-Durand commented 2 years ago

/home/nicefish/torch/install/bin/luajit: cannot open <./home/nicefish/Detec/config/metaData.th7> in mode r at /home/nicefish/torch/pkg/torch/lib/TH/THDiskFile.c:673 stack traceback: [C]: at 0x7f302ad59460 [C]: in function 'DiskFile' /home/nicefish/torch/install/share/lua/5.1/torch/File.lua:405: in function 'load' DetectMalware_CNN.lua:134: in main chunk [C]: in function 'dofile' ...fish/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405d50

I used the full path but couldn't solve the problem.

I'm facing the same issue :/ Still no fix ?