Error while training an initial model: Illegal instruction (core dumped)

Looks like an issue with the CPU. See here for the hardware requirements of tensorflow 1.6 and above.