trax icon indicating copy to clipboard operation
trax copied to clipboard

in trax/trax/data/text_encoder_build_subword.py should be app.run(main) instead of app.run()

Open bqpro1 opened this issue 4 years ago • 0 comments

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:
...

bqpro1 avatar Nov 26 '20 20:11 bqpro1