Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Google の TRAX パッケージを含むプロジェクトに取り組んでいます。Jupyter ノートブックでコードのスニペットを実行しているときに、次のエラー メッセージが表示されました。
module 'trax.supervised' has no attribute 'inputs'
この問題を回避する方法はありますか? 私はtraxバージョン1.2.3を持っています。
ありがとう!
trax のドキュメントによると、呼び出しは trax.Supervised ではなく trax.data でなければなりません。trax.data.inputs.add_loss_weights(generator, id_to_mask=None)
https://trax-ml.readthedocs.io/en/latest/trax.data.html