Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tokenizer.build_vocab error due to progbar.update problem #11

Open
fayesu opened this issue Apr 4, 2018 · 3 comments
Open

tokenizer.build_vocab error due to progbar.update problem #11

fayesu opened this issue Apr 4, 2018 · 3 comments

Comments

@fayesu
Copy link

fayesu commented Apr 4, 2018

  3 tokenizer = SentenceWordTokenizer()

----> 4 tokenizer.build_vocab(X)

~/anaconda3/envs/msa/lib/python3.6/site-packages/keras_text/processing.py in build_vocab(self, texts, verbose, **kwargs)
381 count_tracker.finalize()
382 self._counts = count_tracker.counts
--> 383 progbar.update(len(texts), force=True)
384
385

TypeError: update() got an unexpected keyword argument 'force'

@piperod
Copy link

piperod commented Apr 17, 2018

Got the same problem. Any idea how to solve this?

@Done12
Copy link

Done12 commented Apr 22, 2018

Same here.
Looks like an update to keras progbar broke a bunch of stuff? There was apparently a similar problem in keras-rl keras-rl/keras-rl#179
I hoped that setting verbose to 0 or 2 would at least let me build a vocab, but no luck.

@zuenko
Copy link

zuenko commented Apr 27, 2018

I just deleted all froce=True in file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants