无法导入名称'跟踪'从' tensorflow.python.profiler
我的环境正常工作,一段时间后回到它,当我尝试运行张板时,我会面对这个错误:
无法从'tensorflow.python.profiler
导入名称'trace'
我在我的conda env env tfgpu220中有这些软件包: Spyder 5.3.0 Spyder-Kernels 2.3.0 张板2.2.2 Tensorboard-Data服务器0.6.1 Tensorboard-Plugin-Wit 1.8.1 TensorFlow-GPU 2.2.0 TensorFlow-GPU估计器2.2.0 Tensorflow-io-GCS-Filesystem 0.25.0 TermColor 1.1.0 文本 - unidecode 1.3 TextDistance 4.2.2 tf-估计量2.8.0.dev2021122109
任何帮助,thx。
My enviorment was working fine, getting back to it after a while and when I try to run tensorboard I face this error:
cannot import name 'trace' from 'tensorflow.python.profiler
I have these packages in my conda env tfgpu220:
spyder 5.3.0
spyder-kernels 2.3.0
tensorboard 2.2.2
tensorboard-data-server 0.6.1
tensorboard-plugin-wit 1.8.1
tensorflow-gpu 2.2.0
tensorflow-gpu-estimator 2.2.0
tensorflow-io-gcs-filesystem 0.25.0
termcolor 1.1.0
text-unidecode 1.3
textdistance 4.2.2
tf-estimator-nightly 2.8.0.dev2021122109
Any help, Thx.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请升级TensorFlow版本,然后导入跟踪。
使用以下语句导入跟踪。
Please upgrade the Tensorflow version and then import trace.
Use the following statement to import trace.