lisa-groundhog / GroundHog

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

TypeError: int() argument must be a string or a number, not 'NoneType' #53

Open vinayakumarr opened 7 years ago

vinayakumarr commented 7 years ago

I have installed it using python setup.py develop --user I have downloaded the code and when i try to run train.py , it is showing the below error (please check the attached file). please check it. in addition I have a English and Hindi data. could you please help me regarding how to apply it for English to Hindi. I have a two text file wi er th me that contains English and Hindi

sainikmahata commented 7 years ago

i have the same problem. How to run the model on a English-Hindi parallel corpus. I have done the preprocessing of the data. kindly help.

nouiz commented 7 years ago

This repo isn't maintained anymore. There is other framework on top of Theano like Lasagne, Keras and blocks. Maybe one of them will fit your need.

Maybe using older Theano/Numpy could fix this problem.

On Mon, Nov 28, 2016 at 6:40 AM vinayakumarr notifications@github.com wrote:

I have installed it using python setup.py develop --user I have downloaded the code and when i try to run train.py , it is showing the below error (please check the attached file). please check it. in addition I have a English and Hindi data. could you please help me regarding how to apply it for English to Hindi. I have a two text file wi [image: er] https://cloud.githubusercontent.com/assets/18217467/20667053/6be2746c-b58d-11e6-874d-d70b0537b059.png th me that contains English and Hindi

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/lisa-groundhog/GroundHog/issues/53, or mute the thread https://github.com/notifications/unsubscribe-auth/AALC-3GBGfAL72y-70IQJ3UgoXCqDd5sks5rCr2qgaJpZM4K9r16 .

kellymarchisio commented 6 years ago

Update: You must explicitly call with python train.py --proto=prototype_search_state else the state isn't set correctly.

I have the same issue - if any users have resolved, letting us know how would be helpful. The README in experiments/nmt says we should be able to simply run train.py. This error occurs when running simply that. Is there a step missing where we need to add flags, for instance?