tx2 protobuf 上的张量流
tensorflow on tx2 protobuf
您好,我已经使用
安装了 tensorflow
https://devtalk.nvidia.com/default/topic/1038957/jetson-tx2/tensorflow-for-jetson-tx2-/post/5278617/#5278617
当我 运行 python 脚本时,出现以下错误:
libprotobuf FATAL google/protobuf/stubs/common.cc:61] This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 2.6.1. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "external/protobuf_archive/src/google/protobuf/any.pb.cc".)
在抛出 'google::protobuf::FatalException' 的实例后调用终止
what(): 这个程序需要3.5.0版本的Protocol Buffer 运行时间库,但是安装的版本是2.6.1。请更新您的图书馆。如果您自己编译程序,请确保您的 headers 与您的 link-time 库来自同一版本的 Protocol Buffers。 ("external/protobuf_archive/src/google/protobuf/any.pb.cc" 版本验证失败。)
已中止(核心已转储)
pip show protobuf i get Version: 3.6.1
Summary: Protocol Buffers
Home-page: https://developers.google.com/protocol-buffers/
Author: protobuf@googlegroups.com
Author-email: protobuf@googlegroups.com
License: 3-Clause BSD License
Location: /home/nvidia/vitualenv/lib/python2.7/site-packages
Requires: setuptools, six
Required-by: tensorflow-gpu, tensorboard
有人知道如何解决这个问题吗?
谢谢
终于成功了。最后,我必须在 python 文件的开头添加 import tensorflow
。除了这个,没有其他解决方案对我有用。
我不明白为什么。
如果有人知道答案,你能解释一下为什么吗?
谢谢
您好,我已经使用
安装了 tensorflow
https://devtalk.nvidia.com/default/topic/1038957/jetson-tx2/tensorflow-for-jetson-tx2-/post/5278617/#5278617
当我 运行 python 脚本时,出现以下错误:
libprotobuf FATAL google/protobuf/stubs/common.cc:61] This program requires version 3.5.0 of the Protocol Buffer runtime library, but the installed version is 2.6.1. Please update your library. If you compiled the program yourself, make sure that your headers are from the same version of Protocol Buffers as your link-time library. (Version verification failed in "external/protobuf_archive/src/google/protobuf/any.pb.cc".)
在抛出 'google::protobuf::FatalException' 的实例后调用终止 what(): 这个程序需要3.5.0版本的Protocol Buffer 运行时间库,但是安装的版本是2.6.1。请更新您的图书馆。如果您自己编译程序,请确保您的 headers 与您的 link-time 库来自同一版本的 Protocol Buffers。 ("external/protobuf_archive/src/google/protobuf/any.pb.cc" 版本验证失败。) 已中止(核心已转储)
pip show protobuf i get Version: 3.6.1
Summary: Protocol Buffers
Home-page: https://developers.google.com/protocol-buffers/
Author: protobuf@googlegroups.com
Author-email: protobuf@googlegroups.com
License: 3-Clause BSD License
Location: /home/nvidia/vitualenv/lib/python2.7/site-packages
Requires: setuptools, six
Required-by: tensorflow-gpu, tensorboard
有人知道如何解决这个问题吗?
谢谢
终于成功了。最后,我必须在 python 文件的开头添加 import tensorflow
。除了这个,没有其他解决方案对我有用。
我不明白为什么。 如果有人知道答案,你能解释一下为什么吗?
谢谢