karpathy / neuraltalk2

Efficient Image Captioning code in Torch, runs on GPU
5.51k stars 1.26k forks source link

: Error: unable to locate HDF5 header file at hdf5.h,when I change my conf.lua #151

Open anthonyyuan opened 7 years ago

anthonyyuan commented 7 years ago

neuraltalk2-master anthonyyuan$ th eval.lua -model model_id1-501-1448236541.t7_cpu.t7 image/1.jpg /Users/anthonyyuan/torch/install/bin/luajit: ...s/anthonyyuan/torch/install/share/lua/5.1/trepl/init.lua:384: ...s/anthonyyuan/torch/install/share/lua/5.1/trepl/init.lua:384: /Users/anthonyyuan/.luarocks/share/lua/5.1/hdf5/ffi.lua:42: Error: unable to locate HDF5 header file at hdf5.h stack traceback: [C]: in function 'error' ...s/anthonyyuan/torch/install/share/lua/5.1/trepl/init.lua:384: in function 'require' eval.lua:8: in main chunk [C]: in function 'dofile' ...yuan/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk [C]: at 0x010434cbc0

kris-samala commented 7 years ago

I'm also having the same error even after updating config.lua. Any other suggestions?