|
|
|
|
|
|
|
|
|
|
|
|
|
|
def export_formats(): |
|
|
def export_formats(): |
|
|
# YOLOv5 export formats |
|
|
# YOLOv5 export formats |
|
|
x = [['PyTorch', '-', '.pt', True], ['TorchScript', 'torchscript', '.torchscript', True], |
|
|
|
|
|
['ONNX', 'onnx', '.onnx', True], ['OpenVINO', 'openvino', '_openvino_model', False], |
|
|
|
|
|
['TensorRT', 'engine', '.engine', True], ['CoreML', 'coreml', '.mlmodel', False], |
|
|
|
|
|
['TensorFlow SavedModel', 'saved_model', '_saved_model', True], ['TensorFlow GraphDef', 'pb', '.pb', True], |
|
|
|
|
|
['TensorFlow Lite', 'tflite', '.tflite', False], ['TensorFlow Edge TPU', 'edgetpu', '_edgetpu.tflite', False], |
|
|
|
|
|
['TensorFlow.js', 'tfjs', '_web_model', False]] |
|
|
|
|
|
|
|
|
x = [ |
|
|
|
|
|
['PyTorch', '-', '.pt', True], |
|
|
|
|
|
['TorchScript', 'torchscript', '.torchscript', True], |
|
|
|
|
|
['ONNX', 'onnx', '.onnx', True], |
|
|
|
|
|
['OpenVINO', 'openvino', '_openvino_model', False], |
|
|
|
|
|
['TensorRT', 'engine', '.engine', True], |
|
|
|
|
|
['CoreML', 'coreml', '.mlmodel', False], |
|
|
|
|
|
['TensorFlow SavedModel', 'saved_model', '_saved_model', True], |
|
|
|
|
|
['TensorFlow GraphDef', 'pb', '.pb', True], |
|
|
|
|
|
['TensorFlow Lite', 'tflite', '.tflite', False], |
|
|
|
|
|
['TensorFlow Edge TPU', 'edgetpu', '_edgetpu.tflite', False], |
|
|
|
|
|
['TensorFlow.js', 'tfjs', '_web_model', False],] |
|
|
return pd.DataFrame(x, columns=['Format', 'Argument', 'Suffix', 'GPU']) |
|
|
return pd.DataFrame(x, columns=['Format', 'Argument', 'Suffix', 'GPU']) |
|
|
|
|
|
|
|
|
|
|
|
|