quic / ai-hub-models

The Qualcomm® AI Hub Models are a collection of state-of-the-art machine learning models optimized for performance (latency, memory etc.) and ready to deploy on Qualcomm® devices.
https://aihub.qualcomm.com
BSD 3-Clause "New" or "Revised" License
338 stars 45 forks source link

Why Pad before Conv2D in yolov8_det_quantized tflite model #54

Closed richjjj closed 1 week ago

richjjj commented 2 weeks ago

The image is padded from "640 × 640 × 3" to "641×641×3", but why? image

mestrona-3 commented 1 week ago

Hi @richjjj, this is because TF-Lite must do it this way to represent top/left asymmetric padding.

For these types of questions, we encourage you to task them on our Slack Community for faster responses, so that we can connect you with the right engineer!