This script is used to convert BlazeFace tflite model to pb. you need to get below files first. model: https://github.com/google/mediapipe/blob/master/mediapipe/models/face_detection_front.tflite flatc: https://github.com/tensorflow/tensorflow/blob/v1.14.0/tensorflow/lite/tools/visualize.py#L38 shema: https://github.com/tensorflow/tensorflow/blob/v1.14.0/tensorflow/lite/tools/visualize.py#L37