-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Delete yolov5s-int8-192.tflite * Delete yolov5s-int8-192_edgetpu.tflite * Add files via upload * Add files via upload * Update detect.py Added support for full integer models * Delete detect_int8.py * Update detect.py * Update edgetpumodel.py * Delete yolov8n_full_integer_quant_edgetpu_160_ETPU.log * Delete yolov8n_full_integer_quant_edgetpu_128_ETPU.log * Delete yolov8n_full_integer_quant_edgetpu_128_ETPU.tflite * Delete yolov8n_full_integer_quant_edgetpu_160_ETPU.tflite * Delete yolov8s_full_integer_quant_edgetpu_128_ETPU.log * Delete yolov8s_full_integer_quant_edgetpu_128_ETPU.tflite * Delete yolov8s_full_integer_quant_edgetpu_160_ETPU.log * Delete yolov8s_full_integer_quant_edgetpu_160_ETPU.tflite * Add files via upload * Add files via upload * Delete yolov8s_integer_quant_edgetpu_160_CPU.tflite * Delete yolov8s_integer_quant_edgetpu_160_CPU.log * Delete yolov5s-int8_edgetpu_128_ETPU.log * Delete yolov5s-int8_edgetpu_128_ETPU.tflite * Delete yolov5n-int8_edgetpu_128_ETPU.log * Delete yolov5n-int8_edgetpu_128_ETPU.tflite * Delete yolov8n_full_integer_quant_edgetpu_160_ETPU.log * Delete yolov8n_full_integer_quant_edgetpu_160_ETPU.tflite * Delete yolov8s_full_integer_quant_edgetpu_160_ETPU.log * Delete yolov8s_full_integer_quant_edgetpu_160_ETPU.tflite * Delete yolov5s-int8_edgetpu_160_ETPU.tflite * Delete yolov5n-int8_edgetpu_160_ETPU.tflite * Delete yolov5s-int8_edgetpu_160_ETPU.log * Delete yolov5n-int8_edgetpu_160_ETPU.log * Add files via upload * Update edgetpumodel.py * Update detect.py * Update edgetpumodel.py * Update detect.py * Update edgetpumodel.py * Update nms.py * Added v8 parameter to edgetpumodel.py and nms.py * Added v8 parameter to edgetpumodel.py and nms.py * moved v8 nms to dedicated function for better readibility, adapted v8 nms logic to match code used in https://github.com/ultralytics/ultralytics.git/examples/YOLOv8-ONNXRuntime/main.py * moved v8 nms to dedicated function for better readibility, adapted v8 nms logic to match code used in https://github.com/ultralytics/ultralytics.git/examples/YOLOv8-ONNXRuntime/main.py * coorected calculation of xc parameter * coorected calculation of xc parameter * coorected calculation of xc parameter * corrected calculation of xc parameter * cleanup * Added code for webstreaming of resulting frame * Added code for webstreaming of resulting frame * Re-added original models * cleanup * Update webstreaming.py * removed webstreaming support for clean v8 support PR
- Loading branch information
1 parent
422d209
commit 283644d
Showing
15 changed files
with
238 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Edge TPU Compiler version 16.0.384591198 | ||
Input: yolov5n-int8.tflite | ||
Output: yolov5n-int8_edgetpu.tflite | ||
|
||
Operator Count Status | ||
|
||
RESIZE_NEAREST_NEIGHBOR 2 Mapped to Edge TPU | ||
STRIDED_SLICE 9 Mapped to Edge TPU | ||
CONV_2D 60 Mapped to Edge TPU | ||
QUANTIZE 7 Mapped to Edge TPU | ||
MUL 75 Mapped to Edge TPU | ||
MAX_POOL_2D 3 Mapped to Edge TPU | ||
ADD 10 Mapped to Edge TPU | ||
RESHAPE 6 Mapped to Edge TPU | ||
PAD 7 Mapped to Edge TPU | ||
CONCATENATION 17 Mapped to Edge TPU | ||
LOGISTIC 66 Mapped to Edge TPU |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Edge TPU Compiler version 16.0.384591198 | ||
Input: yolov5s-int8.tflite | ||
Output: yolov5s-int8_edgetpu.tflite | ||
|
||
Operator Count Status | ||
|
||
PAD 7 Mapped to Edge TPU | ||
CONCATENATION 17 Mapped to Edge TPU | ||
MAX_POOL_2D 3 Mapped to Edge TPU | ||
LOGISTIC 66 Mapped to Edge TPU | ||
ADD 10 Mapped to Edge TPU | ||
CONV_2D 60 Mapped to Edge TPU | ||
MUL 75 Mapped to Edge TPU | ||
QUANTIZE 7 Mapped to Edge TPU | ||
RESIZE_NEAREST_NEIGHBOR 2 Mapped to Edge TPU | ||
STRIDED_SLICE 9 Mapped to Edge TPU | ||
RESHAPE 6 Mapped to Edge TPU |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Edge TPU Compiler version 16.0.384591198 | ||
Input: yolov8n_saved_model/yolov8n_full_integer_quant.tflite | ||
Output: yolov8n_saved_model/yolov8n_full_integer_quant_edgetpu.tflite | ||
|
||
Operator Count Status | ||
|
||
MAX_POOL_2D 3 Mapped to Edge TPU | ||
CONCATENATION 18 Mapped to Edge TPU | ||
RESHAPE 6 Mapped to Edge TPU | ||
RESIZE_NEAREST_NEIGHBOR 2 Mapped to Edge TPU | ||
CONV_2D 64 Mapped to Edge TPU | ||
MUL 59 Mapped to Edge TPU | ||
ADD 8 Mapped to Edge TPU | ||
LOGISTIC 58 Mapped to Edge TPU | ||
SOFTMAX 1 Mapped to Edge TPU | ||
PAD 7 Mapped to Edge TPU | ||
TRANSPOSE 6 Mapped to Edge TPU | ||
STRIDED_SLICE 20 Mapped to Edge TPU | ||
QUANTIZE 3 Mapped to Edge TPU | ||
SUB 2 Mapped to Edge TPU |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Edge TPU Compiler version 16.0.384591198 | ||
Input: yolov8n_saved_model/yolov8n_full_integer_quant.tflite | ||
Output: yolov8n_saved_model/yolov8n_full_integer_quant_edgetpu.tflite | ||
|
||
Operator Count Status | ||
|
||
SOFTMAX 1 Mapped to Edge TPU | ||
ADD 8 Mapped to Edge TPU | ||
PAD 7 Mapped to Edge TPU | ||
RESHAPE 6 Mapped to Edge TPU | ||
RESIZE_NEAREST_NEIGHBOR 2 Mapped to Edge TPU | ||
MUL 59 Mapped to Edge TPU | ||
CONV_2D 64 Mapped to Edge TPU | ||
STRIDED_SLICE 20 Mapped to Edge TPU | ||
MAX_POOL_2D 3 Mapped to Edge TPU | ||
CONCATENATION 18 Mapped to Edge TPU | ||
SUB 2 Mapped to Edge TPU | ||
TRANSPOSE 6 Mapped to Edge TPU | ||
LOGISTIC 58 Mapped to Edge TPU | ||
QUANTIZE 3 Mapped to Edge TPU |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Edge TPU Compiler version 16.0.384591198 | ||
Input: yolov8s_saved_model/yolov8s_full_integer_quant.tflite | ||
Output: yolov8s_saved_model/yolov8s_full_integer_quant_edgetpu.tflite | ||
|
||
Operator Count Status | ||
|
||
ADD 8 Mapped to Edge TPU | ||
MAX_POOL_2D 3 Mapped to Edge TPU | ||
STRIDED_SLICE 20 Mapped to Edge TPU | ||
QUANTIZE 3 Mapped to Edge TPU | ||
CONV_2D 64 Mapped to Edge TPU | ||
LOGISTIC 58 Mapped to Edge TPU | ||
RESIZE_NEAREST_NEIGHBOR 2 Mapped to Edge TPU | ||
CONCATENATION 18 Mapped to Edge TPU | ||
MUL 59 Mapped to Edge TPU | ||
SOFTMAX 1 Mapped to Edge TPU | ||
RESHAPE 6 Mapped to Edge TPU | ||
TRANSPOSE 6 Mapped to Edge TPU | ||
PAD 7 Mapped to Edge TPU | ||
SUB 2 Mapped to Edge TPU |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
Edge TPU Compiler version 16.0.384591198 | ||
Input: yolov8s_saved_model/yolov8s_full_integer_quant.tflite | ||
Output: yolov8s_saved_model/yolov8s_full_integer_quant_edgetpu.tflite | ||
|
||
Operator Count Status | ||
|
||
RESHAPE 6 Mapped to Edge TPU | ||
TRANSPOSE 6 Mapped to Edge TPU | ||
MUL 59 Mapped to Edge TPU | ||
SOFTMAX 1 Mapped to Edge TPU | ||
STRIDED_SLICE 20 Mapped to Edge TPU | ||
LOGISTIC 58 Mapped to Edge TPU | ||
SUB 2 Mapped to Edge TPU | ||
PAD 7 Mapped to Edge TPU | ||
ADD 8 Mapped to Edge TPU | ||
MAX_POOL_2D 3 Mapped to Edge TPU | ||
QUANTIZE 2 Mapped to Edge TPU | ||
CONV_2D 64 Mapped to Edge TPU | ||
RESIZE_NEAREST_NEIGHBOR 2 Mapped to Edge TPU | ||
CONCATENATION 18 Mapped to Edge TPU |
Binary file not shown.