Imported from https://github.com/srihari-humbarwadi/YOLOv1-TensorFlow2.0