Open capuzz opened 6 years ago
I've uploaded the file into a dropbox account to fix the broken link. Update the repo using git pull
and try downloading the alexnet model: th download/download_alexnet.lua
.
Thanks, but now I have an other error. When I run:
th train.lua
I have this error:
/home/torch/install/bin/luajit: /home/torch/install/share/lua/5.1/hdf5/group.lua:327: HDF5Group:read() - no such child 'default' for [HDF5Group 33554432 /] stack traceback: [C]: in function 'error' /home/torch/install/share/lua/5.1/hdf5/group.lua:327: in function 'read' .../torch/install/share/lua/5.1/dbcollection/loader.lua:47: in function '__init' /home/torch/install/share/lua/5.1/torch/init.lua:91: in function </home/torch/install/share/lua/5.1/torch/init.lua:87> [C]: in function 'DatasetLoader' .../torch/install/share/lua/5.1/dbcollection/manager.lua:192: in function 'load' .../fastrcnn-example-torch-master/data.lua:13: in function 'get_db_loader' .../fastrcnn-example-torch-master/data.lua:34: in function 'fetch_loader_dataset' .../fastrcnn-example-torch-master/data.lua:303: in function 'data_gen' /home/torch/install/share/lua/5.1/fastrcnn/train.lua:50: in function 'train' train.lua:66: in main chunk [C]: in function 'dofile' .../torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk [C]: at 0x00405d50
I checked that the code which gives me this error is this:
function HDF5Group:read(datapath)
assert(datapath and type(datapath) == 'table', "HDF5Group:read() expects table as first parameter")
hdf5._logger.debug("Reading from " .. tostring(self))
if not datapath or #datapath == 0 then
return self
end
local key = datapath[1]
local child = self._children[key]
**if not child then
error("HDF5Group:read() - no such child '" .. key .. "' for " .. tostring(self)) <---ERROR
end**
from .../torch/install/share/lua/5.1/hdf5/group.lua, and I checked that the value of datapath is "default" and there is the file "detection.h5" in the directory "pascal_voc_2007" and I checked that the program open this directory to get that file (detection.h5) (is it right?).
It is an issue involving the dbcollection
package. The last working version for this code was 0.1.7
but it may also be not working properly. If I find time this weekend I may try to see what the problem is with this package to see if the examples work or not
Hi, I'm trying to download alexnet model doing: