qq_1494026430
2017-12-27 12:36
采纳率: 33.3%
浏览 2.2k

tensorflow的retrain编译错误

ERROR: /opt/tensorflow/tensorflow/contrib/lite/toco/BUILD:169:1: C++ compilation of rule '//tensorflow/contrib/lite/toco:graph_transformations' failed (Exit 1)
In file included from external/gemmlowp/public/../internal/dispatch_gemm_shape.h:20:0,
from external/gemmlowp/public/gemmlowp.h:19,
from ./tensorflow/contrib/lite/kernels/internal/common.h:48,
from ./tensorflow/contrib/lite/toco/runtime/types.h:18,
from ./tensorflow/contrib/lite/toco/model.h:25,
from ./tensorflow/contrib/lite/toco/graph_transformations/graph_transformations.h:23,
from tensorflow/contrib/lite/toco/graph_transformations/make_initial_dequantize_operator.cc:20:
external/gemmlowp/public/../internal/../internal/kernel_default.h:88:2: error: #error "SIMD not enabled, you'd be getting a slow software fallback. Consider enabling SIMD extensions (for example using -msse4 if you're on modern x86). If that's not an option, and you would like to continue with the slow fallback, define GEMMLOWP_ALLOW_SLOW_SCALAR_FALLBACK."
#error \
^
Target //tensorflow/examples/image_retraining:retrain failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 877.927s, Critical Path: 32.01s
FAILED: Build did NOT complete successfully

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

3条回答 默认 最新

相关推荐 更多相似问题