New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some problem about pse.cpp #26
Comments
在ubuntu 18上测试是可行,或许是mac和架构问题咯? |
我遇到了同样的问题,请问你解决了吗 |
我直接放到ubuntu上了就没有该问题。。。 |
谢谢 |
这个问题是macos 使用的是clang 编译器,不支持二维数组中第二维度为变量的数组初始化 |
然后我把这个二维数组改为动态申请的形式: float kernel_vector; 函数最后free掉: |
谢谢大佬的分享,有一些疑问就是,在predict测试的时候,(model用resnet18的,mac os上测试)提示以下错误,不知能否给些意见? 0.0, best wishes!
The text was updated successfully, but these errors were encountered: