trax
trax copied to clipboard
in trax/trax/data/text_encoder_build_subword.py should be app.run(main) instead of app.run()
Description
I'm building subwords dictionary for Polish language and receive error when running text_encoder_build_subword.py. To run text_encoder_build_subword.py there should at the last line of code app.run(main)
instead of app.run()
. That fixes this error.
Environment information
OS: <your answer here>
$ pip freeze | grep trax
# your output here
$ pip freeze | grep tensor
# your output here
$ pip freeze | grep jax
# your output here
$ python -V
# your output here
For bugs: reproduction and error logs
# Steps to reproduce:
...
# Error logs:
...