![](/img/trans.png)
[英]AttributeError: module 'tensorflow._api.v1.compat' has no attribute 'v2' For Tensorflow Object Detection API
[英]AttributeError: module 'tensorflow._api.v1.compat.v1' has no attribute 'pywrap_tensorflow'
在尝试运行tensorboard --logdir dump_dir
我得到AttributeError: module 'tensorflow._api.v1.compat.v1' has no attribute 'pywrap_tensorflow'
Tensorboard版本:
TensorBoard 1.13.1
python -c "from tensorboard import version; print(version.VERSION)"
1.13.1
Tensorflow版本:
python -c "import tensorflow; print(tensorflow.__version__)"
1.14.0-rc1
我已经从源代码构建了tensorflow,版本不匹配吗?
似乎pip3 install --upgrade tensorboard
帮助。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.