xinyu391

Results comments of xinyu391

“git pull origin pull/105/head” works for me, It should be protobuf version probelm pull 105 解决了我的问题, 应该是protobuf版本的问题

easy way: ```c++ #define LOGI(...) \ do{char buf[256]; snprintf(buf, 256,__VA_ARGS__); spdlog::info(buf);}while(0) //use: LOGI("hello %d, %s", 0, "msg"); ```

可以把这两处的 top_blob.elemsize 改成 elemsize

默认不会比那一出androidx86的库, 自己修改build.sh来编啊

经一下午的调试发现是Crop层调用的代码copy_cut_border()存在问题 crop.cpp ```C++ int Crop::forward(const Mat& bottom_blob, Mat& top_blob, const Option& opt) const { int w = bottom_blob.w; int h = bottom_blob.h; int channels = bottom_blob.c; int _outw = outw...

改成这样更好 ```C++ if(src.refcount) { dst = src; } else { dst = src.clone(); } ```

![Image](https://github.com/user-attachments/assets/0dac23e6-e58b-426d-a35f-d71ce40d7dcf)

![Image](https://github.com/user-attachments/assets/b257aca1-bd66-4cd5-8e1a-34f39b9595eb) ![Image](https://github.com/user-attachments/assets/024f9f1e-085b-4780-b8d0-5701d9858a8c)