python - 使用 Jupyter 笔记本无法从“tensorflow.python.compiler.tensorrt”导入名称“trt_convert”
问题描述
我尝试进行人体姿势估计。所以我这样做:
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'”。这是我的张量流包
我知道在 1.18 版本之后,tensorflow 不再有编译包。但是,我怎样才能仍然使用这个包?或者我如何在 Jupyter Notebook 中使用 tf_pose?
解决方案
推荐阅读
- css - 在视口中居中多个 div
- mysql - MySQL 基于其他列更新列
- android - Android 内容提供程序安全异常
- c# - 使用 x509 证书签署 JWT 令牌时遇到问题
- php - 会话 ID 在 codeigniter 中的服务器端不起作用
- python-3.x - 错误:pyMySQL 在爬虫的蜘蛛中不起作用
- python - 传递值的形状是 (30, 569),索引意味着 (569, 569)
- nginx - Gunicorn 资源使用过多:资源:处理时间
- android - 您可以使用 Android 上的指纹传感器找到指纹类型(例如食指、中指等)吗?
- jquery - Jquery validate 1.17.0 插件不起作用