0

I am working on a project involving Google's TRAX package. I encountered the following error message while running a snippet of code on Jupyter notebook.

module 'trax.supervised' has no attribute 'inputs'

Is there a way around this issue? I have trax version 1.2.3.

Thanks!

1 Answer 1

1

As per trax documentation The call must be trax.data rather than trax.Supervised trax.data.inputs.add_loss_weights(generator, id_to_mask=None)

https://trax-ml.readthedocs.io/en/latest/trax.data.html

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.