Joel

Results comments of Joel

``` // convert cv::Mat to rknn_input format image_buffer_t void convertMatToImageBuffer(const cv::Mat &mat, image_buffer_t &buffer) { // 设置宽度和高度 buffer.width = mat.cols; buffer.height = mat.rows; // 步幅(字节数)通常是 Mat 的每行字节数 buffer.width_stride = mat.step;...

@zoldaten Thanks for sharing your solution very much!

方案一:把这些多个模型用到的结构体声明和定义 全部放到一个 common.h和common.cc中,需要用到的地方include一下common.h就能避免冲突了 方案二:如果出现频次很低的小函数,函数前面加上static 限制函数的作用域在当前文件内,避免与其他文件的同名函数产生链接冲突

As far as I am concerned, although batch boxes promt is supported in SAM, there is no similliar batch process provided in mobileSAM, in my project(batch boxes input as promt),...

``` prompt eval count: 29 token(s) prompt eval duration: 137.19098472595215s prompt eval rate: 0.21138415223077064 tokens/s eval count: 300 token(s) eval duration: 964.1179256439209s eval rate: 0.3111652548101252 tokens/s ``` 我的硬件环境是: CPU:6133*2 双路...

我也遇到过。我后来换了一个性能更好的cpu就可以加载完成了,内存和gpu都不变。蹲一下具体原因