0

I am trying to run an example of a LSTM recurrent neural network that is presented in this git: https://github.com/mesnilgr/is13.

I've installed theano and everything and when I got to the point of running the code, I've noticed the data was not being downloaded, so I've opened an issue on the github (https://github.com/mesnilgr/is13/issues/12) and this guy came up with a solution that consisted in:

1-get the data from the dropbox link he provides. 2- change the code of the 'load.py' file to download, and read the data properly.

The only issue is that the data in the dropbox folder(https://www.dropbox.com/s/3lxl9jsbw0j7h8a/atis.pkl?dl=0) is not a compacted .gz file as, I suppose, was the data from the original repository. So I dont have enough skill to change the code in order to do with the uncompressed data exaclty what it would do with the compressed one. Can someone help me?

The modification suggested and the changes I've done are described on the issue I've opened on the git(https://github.com/mesnilgr/is13/issues/12).

4

1 回答 1

1

看起来您的代码正在使用

gzip.open(...)

但是如果文件没有被压缩,那么你可能只需要删除gzip.前缀并使用

open(...)
于 2015-10-20T04:54:59.407 回答