Currently I am trying to get tensorflow - Windows 64bit (just the cpu version) running on my pc. When running the command python object_detection/builders/model_builder_te
I was able to fix it myself, here's how:
On the github page https://github.com/tensorflow/tensorflow/issues/17386 , I found out that a cause of this problem can be caused due to the CPU lacking AVX instructions. Advanced Vector Extensions (AVX) are a set of instructions for doing Single Instruction Multiple Data (SIMD) operations.
I was running an Intel Core Duo, which does not appear on the list of all AVX compatible AMD and intel CPU's , which can be found here: https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#CPUs_with_AVX
On that github page, a user by the name of fo40225, had compiled a .whl for tensorflow, that had been built without AVX. It can be found here: https://github.com/fo40225/tensorflow-windows-wheel/tree/master/1.9.0/py36/CPU/sse2
First I had to uninstall tensorflow with pip uninstall tensorflow
, then I reinstalled it using the .whl that has been built without AVX using pip install /example/path/to/.whl
After installing the problem was fixed!