Open AlyHdr opened 3 years ago
I think it is only available in the development version. For Colab, you can try:
!pip install -q -U git+https://github.com/google/trax.git
!pip install -q -U git+https://github.com/google/gin-config.git
This document is for the latest version by default. You can switch it to stable version.
Thanks for your reply, yes now it's working but why in the documentation only pip install trax
is introduced and those metrics are used in the tutorial itself. If you run the notebook provided in Colab, it will fail with the same error I have mentioned before unless one installs Trax as you have said.
I think it is only available in the development version. For Colab, you can try:
!pip install -q -U git+https://github.com/google/trax.git !pip install -q -U git+https://github.com/google/gin-config.git
This document is for the latest version by default. You can switch it to stable version.
What do you mean "switch it to stable version"?
Description
I'm trying to build a simple sentiment analysis model using the code from the tutorial you provided here: https://trax-ml.readthedocs.io/en/latest/notebooks/trax_intro.html However I'm not able to use certain metrics, although they exist in the code base (like CategoryCrossEntropy,WeightedCategoryCrossEntropy...etc)
Environment information
For bugs: reproduction and error logs