你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

st-img
chrome
st-img
firefox
st-img
safari
st-img
ie8及以上
shequ.stmicroelectronics.cn
  • ST意法半导体官网
  • STM32中文官网
  • ST全球论坛
登录/注册
  • 首页
  • 技术问答
  • 话题
  • 资源
  • 创客秀
  • 视频
  • 标签
  • 积分商城
  • 每日签到
有你好橘子吃

有你好橘子吃

 

回答数 0 关注数 0
关注 私信
  • 动态99
  • 提问
  • 回答0
  • 创客秀 0
  • 分享 0
  • 关注0
2 回答

stm32上部署yolo的问题

STM32H7 STM32Cube.AI
范荣华 范荣华 回答时间: 7 天前

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;

赞0
有你好橘子吃 有你好橘子吃


阅读作者更多的帖子

所在话题

参与活动

  • 滴滴押注社区团购,明确“投入不设上限,要做市场第一”

    线下 2020-10-16
  • 滴滴押注社区团购,明确“投入不设上限,要做市场第一”

    网络 2020-10-16
  • 滴滴押注社区团购,明确“投入不设上限,要做市场第一”

    网络 2020-10-16
  • 滴滴押注社区团购,明确“投入不设上限,要做市场第一”

    网络 2020-10-16
  • 滴滴押注社区团购,明确“投入不设上限,要做市场第一”

    线下 2020-10-16
  • 滴滴押注社区团购,明确“投入不设上限,要做市场第一”

    线下 2020-10-16