aneesh-joshi / LSTM_POS_Tagger

A simple POS Tagger made using a Bidirectional LSTM using keras trained on the Brown Corpus
34 stars 19 forks source link

while_loop() got an unexpected keyword argument 'maximum_iterations' + Object was never used #11

Open dutkaD opened 5 years ago

dutkaD commented 5 years ago

I am getting this error and have no idea how to solve the issue...


TypeError: while_loop() got an unexpected keyword argument 'maximum_iterations'
ERROR:tensorflow:==================================
Object was never used (type <class 'tensorflow.python.ops.tensor_array_ops.TensorArray'>):
<tensorflow.python.ops.tensor_array_ops.TensorArray object at 0x7ff13b35ab00>
If you want to mark it as used call its "mark_used()" method.

while debugging, maximum_iterations = 100, and is of type integer

aneesh-joshi commented 5 years ago

@dutkaD Thanks for the report. I will try to fix it as soon as possible (maybe by this weekend)

In the mean time, could you try the other branch of this repo: https://github.com/aneesh-joshi/LSTM_POS_Tagger/tree/backup_master

It's the better version which I plan to merge into master.