2017-05-10 3 views
0

github.com/jcjohnson/torch-rnn의 지침에 따라 교육 섹션까지 작업 해 보겠습니다. th train.lua -input_h5 my_data.h5 -input_json my_data.json을 사용할 때 오류가 발생합니다. Error: unable to locate HDF5 header file at /usr/local/Cellar/hdf5/1.10.0-patch1/include;/usr/include;/usr/local/opt/szip/include/hdf5.h 저는 luarocks 및 torch를 처음 사용하여 무엇이 잘못되었는지 잘 모릅니다. 나는 torch-hd5f를 설치했다. 어떤 조언을 주시면 감사하겠습니다.Torch RNN을 사용하는 중에 오류가 발생했습니다.

+0

https://github.com/jcjohnson/torch-rnn/issues/121 및 https://github.com/jcjohnson/torch-rnn/issues/170에서 이러한 문제를 조사해 보셨습니까? – fonfonx

답변

0

헤더 파일이 있고 올바른 경로인지 확인하십시오.

헤더 파일이 누락 된 경우 전처리 단계를 건너 뜁니다. 헤더 파일은 아닌 sample.lua 코드와 동일한 디렉토리에 데이터 디렉토리의 가능성이 존재하는 경우 : train.lua -input_h5 데이터 일 / my_data.h5 -input_json 데이터/ my_data.json

관련 문제