微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

使用 Jupyter notebook 无法从 'tensorflow.python.compiler.tensorrt'

如何解决使用 Jupyter notebook 无法从 'tensorflow.python.compiler.tensorrt'

我尝试进行人体姿势估计。所以我这样做:

pip install qq git+https://github.com/gsethi2409/tf-pose-estimation

pip install git+https://github.com/adrianc-a/tf-slim.git@remove_contrib

但是,当我运行 from tf_pose import common 时,出现错误提示“无法从 'tensorflow.python.compiler.tensorrt' 导入名称 'trt_convert'”。 这是我的 tensorflow 包

enter image description here

我知道在 1.18 版本之后,tensorflow 不再有编译器包。但是,我怎样才能继续使用这个包?或者如何在 Jupyter Notebook 中使用 tf_pose?

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。