Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ncdhz committed Mar 28, 2024
1 parent 431966e commit c77384c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/Yolo.h
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ class Yolo
/**
* 预测函数
* @param data 需要预测的数据格式 (batch, rgb, height, width)
* @return std::vector 对应的是 batch size,torch::Tensor 的维度是 6 * n 表示(左上点x坐标,左上点y坐标,右下点x坐标,右下点y坐标,置信度,标签)n 表示有多少个框被预测出来
* @return std::vector 对应的是 batch size,torch::Tensor 的维度是 n * 6 表示(左上点x坐标,左上点y坐标,右下点x坐标,右下点y坐标,置信度,标签)n 表示有多少个框被预测出来
*/
std::vector<torch::Tensor> prediction(torch::Tensor data);
/**
Expand Down

0 comments on commit c77384c

Please sign in to comment.