Convert .weights to .pb saved_model python ./convert_weights_pb.py (this can be used for tensorflow serving)
Convert .pb to .tflite tflite_convert --saved_model_dir=saved_model/ --output_file yolo_v3.tflite --saved_model_signature_key='predict'
Optional Flags
convert_weights_pb.py:
--class_names
Path to the class names file
--weights_file
Path to the desired weights file
--data_format
`NCHW` (gpu only) or `NHWC`
--tiny
Use yolov3-tiny
--spp
Use yolov3-spp
--output_graph
Location to write the output .pb graph