In the YOLOv3 model for object detection project, there's some issue with these versions. Earlier, Even I had faced the same issue and then I used Keras 2.2.0 & tensorflow 1.14.0
pip install tensorflow==1.14.0
pip install keras==2.2.0
Execute the above command to overwrite those versions.
Want to become a Python expert? Come and join this python online course
To know more about these topics, you can also look at the following video tutorial: