I have been experimenting trying to solve it for weeks. I am using Google Colaboratory since I got a MacBook Pro with an Apple chip that is not supported by TensorFlow. Here is the Google Colaboratory link with commenting access. Click here.
I have tried using older versions of TensorFlow, but nothing changed, I have the TensorFlow record and training pipeline files ready.