trax icon indicating copy to clipboard operation
trax copied to clipboard

Trax — Deep Learning with Clear Code and Speed

Results 125 trax issues
Sort by recently updated
recently updated
newest added

### Description I was trying to perform a simple optimization using `Parallel` combinator other than `Serial`. By using Dense layers in Serial, it is trivial to optimize. However, I could...

How can I get access to current metrics in a training loop? I want to do custom logging while the model runs - specifically I want to log to Weights...

### Description When providing inputs with a constant shape - for instance imagenet32 where examples are always of length *3072*, but it also applies e.g. to this config: https://github.com/google/trax/blob/master/trax/supervised/configs/reformer_imagenet64.gin and...

### Description Importing trax takes too long. ### Environment information ``` OS: ubuntu 18.04 $ pip freeze | grep trax trax==1.3.7 $ pip freeze | grep tensor mesh-tensorflow==0.1.18 tensorboard==2.4.0 tensorboard-plugin-wit==1.7.0...

### Description I have gpu, but trax just can not find it, it report that: WARNING:absl:No GPU/TPU found, falling back to CPU. (Set TF_CPP_MIN_LOG_LEVEL=0 and rerun for more info.) ......

### Description ... ### Environment information ``` OS: $ pip freeze | grep trax trax==1.3.6 $ pip freeze | grep tensor mesh-tensorflow==0.1.16 tensor2tensor==1.15.7 tensorboard==2.3.0 tensorboard-plugin-wit==1.7.0 tensorflow==2.3.0 tensorflow-addons==0.11.2 tensorflow-datasets==3.2.1 tensorflow-estimator==2.3.0 tensorflow-gan==2.0.0...

### Description a tracer error occurs inside jax while initializing pretrained weights in model.init_from_file() function inside this notebook https://colab.research.google.com/github/google/trax/blob/master/trax/models/reformer/text_generation.ipynb --------------------------------------------------------------------------- LayerError Traceback (most recent call last) in () 2 model...

### Description The crossentrophy loss in Trax 1.3.7 gave strange reading. Is this normal? ![1](https://user-images.githubusercontent.com/45889437/102689364-6aa91600-4238-11eb-81a9-70a6346984f2.JPG) The same code was running in Trax 1.3.6 with this result. ![2](https://user-images.githubusercontent.com/45889437/102689396-b5c32900-4238-11eb-9a1b-3ff8084a72ab.JPG) The loss layer...

### Description My network has m inputs (X1, X2, ...Xm), and n prediction heads (Y1, Y2, ...Yn). Each of the input and output may have different shapes. Each of the...

### Description https://github.com/google/trax/blob/master/trax/models/reformer/text_generation.ipynb runs out of memory on a v3-8 tpu ... ### Environment information ``` OS: $ pip freeze | grep trax trax==1.3.7 $ pip freeze | grep tensor...