PaddlePaddle Usage examples (#9358)
This commit is contained in:
1 parent
e3e5122f82
commit
4e8504abd9
6 files changed
+6
-1
No files matched your search
@@ -22,6 +22,7 @@ Usage - formats:
|
|||||||
yolov5s-cls.pb # TensorFlow GraphDef
|
yolov5s-cls.pb # TensorFlow GraphDef
|
||||||
yolov5s-cls.tflite # TensorFlow Lite
|
yolov5s-cls.tflite # TensorFlow Lite
|
||||||
yolov5s-cls_edgetpu.tflite # TensorFlow Edge TPU
|
yolov5s-cls_edgetpu.tflite # TensorFlow Edge TPU
|
||||||
|
yolov5s-cls_paddle_model # PaddlePaddle
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ Usage - formats:
|
|||||||
yolov5s-cls.pb # TensorFlow GraphDef
|
yolov5s-cls.pb # TensorFlow GraphDef
|
||||||
yolov5s-cls.tflite # TensorFlow Lite
|
yolov5s-cls.tflite # TensorFlow Lite
|
||||||
yolov5s-cls_edgetpu.tflite # TensorFlow Edge TPU
|
yolov5s-cls_edgetpu.tflite # TensorFlow Edge TPU
|
||||||
|
yolov5s-cls_paddle_model # PaddlePaddle
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ Usage - formats:
|
|||||||
yolov5s.pb # TensorFlow GraphDef
|
yolov5s.pb # TensorFlow GraphDef
|
||||||
yolov5s.tflite # TensorFlow Lite
|
yolov5s.tflite # TensorFlow Lite
|
||||||
yolov5s_edgetpu.tflite # TensorFlow Edge TPU
|
yolov5s_edgetpu.tflite # TensorFlow Edge TPU
|
||||||
|
yolov5s_paddle_model # PaddlePaddle
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|||||||
@@ -35,6 +35,7 @@ Inference:
|
|||||||
yolov5s.pb # TensorFlow GraphDef
|
yolov5s.pb # TensorFlow GraphDef
|
||||||
yolov5s.tflite # TensorFlow Lite
|
yolov5s.tflite # TensorFlow Lite
|
||||||
yolov5s_edgetpu.tflite # TensorFlow Edge TPU
|
yolov5s_edgetpu.tflite # TensorFlow Edge TPU
|
||||||
|
yolov5s_paddle_model # PaddlePaddle
|
||||||
|
|
||||||
TensorFlow.js:
|
TensorFlow.js:
|
||||||
$ cd .. && git clone https://github.com/zldrobit/tfjs-yolov5-example.git && cd tfjs-yolov5-example
|
$ cd .. && git clone https://github.com/zldrobit/tfjs-yolov5-example.git && cd tfjs-yolov5-example
|
||||||
|
|||||||
+1
-1
@@ -312,7 +312,7 @@ class DetectMultiBackend(nn.Module):
|
|||||||
# PyTorch: weights = *.pt
|
# PyTorch: weights = *.pt
|
||||||
# TorchScript: *.torchscript
|
# TorchScript: *.torchscript
|
||||||
# ONNX Runtime: *.onnx
|
# ONNX Runtime: *.onnx
|
||||||
# ONNX OpenCV DNN: *.onnx with --dnn
|
# ONNX OpenCV DNN: *.onnx --dnn
|
||||||
# OpenVINO: *.xml
|
# OpenVINO: *.xml
|
||||||
# CoreML: *.mlmodel
|
# CoreML: *.mlmodel
|
||||||
# TensorRT: *.engine
|
# TensorRT: *.engine
|
||||||
|
|||||||
@@ -16,6 +16,7 @@ Usage - formats:
|
|||||||
yolov5s.pb # TensorFlow GraphDef
|
yolov5s.pb # TensorFlow GraphDef
|
||||||
yolov5s.tflite # TensorFlow Lite
|
yolov5s.tflite # TensorFlow Lite
|
||||||
yolov5s_edgetpu.tflite # TensorFlow Edge TPU
|
yolov5s_edgetpu.tflite # TensorFlow Edge TPU
|
||||||
|
yolov5s_paddle_model # PaddlePaddle
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import argparse
|
import argparse
|
||||||
|
|||||||
Reference in new issue
Block a user