【发布时间】:2017-12-20 10:45:59
【问题描述】:
我想知道是否可以优化 Tensorflow (InceptionV.3) 的图像识别。事实上,我想在仅配备 VPS 的 CPU 上介绍后者。现在,我设法在 30-40 秒后得到结果,我想知道是否有解决方案可以减少这个时间:/(没有 GPU)
执行此代码时收到此警告:
2017-07-15 02: 40: 19.230276: W tensorflow / core / platform / cpu_feature_guard.cc: 45] The TensorFlow library was not compiled to use SSE4.1 instructions, but these are CPU computations.
2017-07-15 02: 40: 19.230359: W tensorflow / core / platform / cpu_feature_guard.cc: 45] The TensorFlow library was not compiled to use SSE4.2 instructions, but these are CPU computations.
你觉得这次编译会大大减少时间吗?我在他们的网站上没有找到任何提到这个警告的文件。 我是 Tensorflow 的新手,所以我什么都不懂... 我在 ubuntu 16.04 LTS,我使用 python 2.7.12
提前谢谢你! :)
【问题讨论】:
标签: python performance tensorflow cpu