ERROR: Cannot access file model/ilsvrc12_mean.hdf5
I followed "Image Classification with Pre-trained Imagenet CNN" instruction and was stuck while trying to implement julia > net = Net("imagenet", backend, layers)
it follows
26- 4 09:53:00:INFO:root:Constructing net imagenet on Mocha.CPUBackend... 26- 4 09:53:00:INFO:root:Topological sorting 16 layers... 26- 4 09:53:00:INFO:root:Setup layers... HDF5-DIAG: Error detected in HDF5 (1.8.15-patch1) thread 0: #000: H5F.c line 439 in H5Fis_hdf5(): unable open file major: File accessibilty minor: Not an HDF5 file #001: H5Fint.c line 554 in H5F_is_hdf5(): unable to open file major: Low-level I/O minor: Unable to initialize object #002: H5FD.c line 993 in H5FD_open(): open failed major: Virtual File Layer minor: Unable to initialize object #003: H5FDsec2.c line 343 in H5FD_sec2_open(): unable to open file: name = 'model/ilsvrc12_mean.hdf5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0 major: File accessibilty minor: Unable to open file ERROR: Cannot access file model/ilsvrc12_mean.hdf5 in h5open at /Users/xuguodong/.julia/v0.4/HDF5/src/plain.jl:547 in h5open at /Users/xuguodong/.julia/v0.4/HDF5/src/plain.jl:557 in h5open at /Users/xuguodong/.julia/v0.4/HDF5/src/plain.jl:565 in setup at /Users/xuguodong/.julia/v0.4/Mocha/src/data-transformers.jl:34 in call at /Users/xuguodong/.julia/v0.4/Mocha/src/layers/memory-data.jl:31 in setup at /Users/xuguodong/.julia/v0.4/Mocha/src/layers/memory-data.jl:51 in setup at /Users/xuguodong/.julia/v0.4/Mocha/src/layers.jl:112 in call at /Users/xuguodong/.julia/v0.4/Mocha/src/net.jl:227
what's wrong, is there any package I have not installed?
thx for help
You need to run the script in that folder to download pretrained model first.