Duplicated from SoulPerforms/Fire_Detection_YOLOv8_Model_Inference_with_Gradio
convert best.pt to best.onnx