:Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2

1. Problems

Write a simple single-layer neural network run MNIST handwritten numeral set, the result of each fit will appear dead kernel

For many dead kernels, first of all, don’t rush to search the Internet to find out how to solve the problem. Because the reasons are different, you should go to the bash terminal of notebook to check the error information, which is as follows:

It’s better to see a blog explaining this problem:

https://blog.csdn.net/qq_ 41185868/article/details/79127838#comments

According to the error report, first understand what AVX is

AVX is a kind of extended instruction, which needs the cooperation of CPU and protocol, but my tensorflow doesn’t support it.

2. Solutions

Maybe it’s because the Mac version of tensorflow is lower (compared with windows, it can’t be upgraded disorderly), so how to solve it?

It’s OK. I also want to find out what’s behind this, but it seems that the more I look at it, the more complicated it becomes. -It’s better to ignore the warning and run the code

Similar Posts: