torch / torch7

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

Torch adding file name when it is already provided #1121

Open LarryK348 opened 6 years ago

LarryK348 commented 6 years ago

Torch cannot load model file because it modified the name:

Model file provided on command line "./pretrained/deepmask/model.t7" [see line 1) below] Model file in open attempt "./pretrained/deepmask/model.t7/model.t7" [see line 5) below]

1) I:\XXXX\fromGithub\facebookresearch\deepmask>th computeProposals.lua ./pret 2) rained/deepmask/model.t7 3) Found Environment variable CUDNN_PATH = I:\XXXX\3rdParty\NVIDIA\CUDA\v9.0\b 4) in\cudnn64_7.dll| loading model file... ./pretrained/deepmask/model.t7 5) T:\Torch\bin\luajit.exe: cannot open <./pretrained/deepmask/model.t7/model.t7> i 6) n mode r at I:\XXXX\fromGithub\facebookresearch\distro\pkg\torch\lib\TH\TH 7) DiskFile.c:673 8) stack traceback: 9) [C]: at 0x7ff96dd11320 10) [C]: in function 'DiskFile' 11) T:\Torch\luarocks\systree/share/lua/5.1/torch\File.lua:405: in function 12) 'load' 13) computeProposals.lua:48: in main chunk 14) [C]: in function 'dofile' 15) ...arocks\systree\lib\luarocks\rocks-5.1\trepl\scm-1\bin\th:150: in main 16) chunk 17) [C]: at 0x7ff726374e40