在Vscode中,如何将touchGFX的图片资源下载到QSPI FLASH中?
STM32H750+FreeRTOS uart DMA无法使用
TOF传感器无法正确识别物体
STM32N6通过X-CUBE-AI部署模型到工程后,如何调用API函数接口?
stm32H743使用CubeMxAi导入模型文件,需要将测试数据进行识别,不知道如何传入参数
STM32H750的上电BOR生效电压
STM32H563的QSPI接口不能读取W25Q256的后128MB数据
STM32H7的SMPS供电
STM32H7无法芯片
stm32cubeMx生成stm32H743IIT6 cmake工程时全局变量自动定义到DTCM段
微信公众号
手机版
我也碰到这个问题,能否一起交流,我的微信 18151119929.
我用的 yolo v11, 是目标检测模型,转换成nb 部署后,11+7 ×8400 输出张量。
但是 可能没有归一化,但是我归一化仍然没有用。
输出是没有置信度的。
std::vector<ObjDetect_Results> parseModelOutput(float output, int num_classes = 7, float confidence_threshold = 0.55f) { std::vector<ObjDetect_Results> detections; float data = output; const int num_boxes = 8400; const int attributes_per_box = 4 + num_classes; // 4坐标 + 1置信度 + n类别
// for (int w = 0; w < 8400; w++) // { // for (int h = 0; h < attributes_per_box; h++) // { // if (h > 3) // { // printf(" %.2f ",sigmoid(1-data[h 8400 + w])); // } // else // printf(" %.2f ",data[h 8400 + w]); // } // printf("\r\n"); // }
// return detections;