我正在做一个涉及Google的TRAX包的项目。在Jupyter notebook上运行代码片段时,我遇到了以下错误消息。
module 'trax.supervised' has no attribute 'inputs'有没有办法绕过这个问题?我有trax版本1.2.3。
谢谢!
发布于 2021-03-20 10:29:46
根据trax文档,调用必须是生成器而不是trax.Supervised trax.data.inputs.add_loss_weights( trax.data,id_to_mask=None)
https://stackoverflow.com/questions/66513954
复制相似问题