bitbionic/keras-to-tensorflow

error: this TensorFlow binary was not compiled to use: AVX2 FMA

Closed this issue · 2 comments

When I use the k2tf_convert.py script:
python k2tf_convert.py -m 'version0320.h5' -n 1

I got error:
2018-07-20 09:54:38.200577: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA

I tried on two machines(VM on DO & Mac), same error. What should I do now?

Thank you very much!

That should be a warning, not an error. It's a pretty standard warning in TF from a generic TF compiled binary. You can get rid of that warning if you build TF yourself and supply the AVX2 flag. See tensorflow/tensorflow#8037 for a similar discussion on the TF GitHub. Good luck and thanks for checking out the tutorial.

Thank a lot!