lisa-groundhog / GroundHog

Library for implementing RNNs with Theano
BSD 3-Clause "New" or "Revised" License
598 stars 229 forks source link

Error when shuffle dataset #34

Open xishazgh opened 9 years ago

xishazgh commented 9 years ago

Hi,

I'm new on neural networks and GroundHog. Now I am trying to but I get this error:

python shuffle-hdf5.py binarized_text.en.h5 binarized_text.zn.h5 binarized_text.en.shuf.h5 binarized_text.zn.shuf.h5 Data len: 2208739 Shuffled . . . . . . . . . 100000 . . . . . . . . . 200000 . . . . . . . . . 300000 . . . . . . . . . 400000 . . . . . . . . . 500000 . . . . . . . . . 600000 . . . . . . . . . 700000 . . . . . . . . . 800000 . . . . . . . . . 900000 . . . . . Traceback (most recent call last): File "shuffle-hdf5-1.py", line 68, in pos = indices_in[fi][ii]['pos'] File "C:\Python27\lib\site-packages\tables\table.py", line 2119, in getitem raise IndexError("Index out of range") IndexError: Index out of range

Could anyone help me with it?

nouiz commented 9 years ago

Hi,

GroundHog isn't actively developped for now. We are more working on blocks. There is a PR to document it:

(https://github.com/mila-udem/blocks-examples/pull/20).

Blocks isn't completly ready to replace all GroundHog feature yet.

But I try guess a few reason for your errors:

This could explain that. Can you check them?

On Wed, Aug 5, 2015 at 5:16 AM, xishazgh notifications@github.com wrote:

Hi,

I'm new on neural networks and GroundHog. Now I am trying to but I get this error:

python shuffle-hdf5.py binarized_text.en.h5 binarized_text.zn.h5 binarized_text.en.shuf.h5 binarized_text.zn.shuf.h5 Data len: 2208739 Shuffled . . . . . . . . . 100000 . . . . . . . . . 200000 . . . . . . . . . 300000 . . . . . . . . . 400000 . . . . . . . . . 500000 . . . . . . . . . 600000 . . . . . . . . . 700000 . . . . . . . . . 800000 . . . . . . . . . 900000 . . . . . Traceback (most recent call last): File "shuffle-hdf5-1.py", line 68, in pos = indices_in[fi][ii]['pos'] File "C:\Python27\lib\site-packages\tables\table.py", line 2119, in getitem raise IndexError("Index out of range") IndexError: Index out of range

Could anyone help me with it?

— Reply to this email directly or view it on GitHub https://github.com/lisa-groundhog/GroundHog/issues/34.